Hi, I'm quite new to Gtk#, and there are two things about TreeIter that are a bit odd:
1. Only one of the user_data fields are visible. user_data2 and user_data3 are not. Googling brought up an email from 2005, someone asking the same thing (without answer). Is there some particular reason the user_data fields cannot be public? It makes implementing custom models a bit hard. 2. TreeIter is a struct of 32 bytes, and passed as a value all around TreeModelImplementor and TreeModelAdapter. While not huge, copying 32 bytes lots of times in tight loops (TreeView with lots of rows) is surely not very good for performance. Profiler shows TreeIter as the clear number one allocated item on my app. If I'm not mistaken, that hints that TreeIter is being boxed, which is probably even worse for performance than just passing it by value. Tomi
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
