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: [email protected]
> To: [email protected]
> 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
> [email protected]
> 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
_______________________________________________
gnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-list
  • GLib GTree yavuz yetim
    • RE: GLib GTree yavuz yetim

Reply via email to