RE: GLib GTree



By defining the function to be "inline" and compiling it with -O1, it does inline the code for each node, so there is no overhead! 

Thanks,
Yavuz

----------------------------------------
> From: yavuzyetim hotmail com
> To: gnome-list gnome org
> Subject: GLib GTree
> Date: Wed, 26 Aug 2009 01:26:00 +0000
>
>
> Hi,
> Why isn't there an iterator to GTree?
> g_tree_foreach():For a large tree and for a simple operation for each node, the program needs make lots of function calls through the function pointer.
> Wouldn't it be nice to have an iterator like the one in GHashTable?
> Don't get me wrong, that's not a complain, just a question or at most a suggestion... GLib is great!
> Thanks,Yavuz
> _________________________________________________________________
> Get back to school stuff for them and cashback for you.
> http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list

_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast. 
http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_faster:082009


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]