Re: Programmer's criticism of GTK2
- From: Maxim Koshelev <max krascoal ru>
- To: Havoc Pennington <hp redhat com>, gtk-app-devel-list gnome org
- Subject: Re: Programmer's criticism of GTK2
- Date: Fri, 15 Mar 2002 08:58:26 +0700
Havoc Pennington wrote:
Carlos Pereira <carlos pehoe civil ist utl pt> writes:
Definitely flexibility is very important, no doubt
about that, but in many cases raw performance is
really critical, particularly in engineering and
scientific applications.
You should be able to get adequate performance from TreeView, you just
might have to write a custom model. GtkListStore/GtkTreeStore are just
linked lists, as CList/CTree were, and thus have O(N) operations and
are wholly inappropriate for large values of N.
No, it's wrong way. Good library MUST give to developer fast routines!
E.g. for GTK is best solve of the problem would be inherite all objects from
GList! In this case you can easy create list inside ListStore and TreeStore
without any fear and give users access to UNBREAKABLE iterators.
In the end though, remember that CList/CTree will be around for about
6 more years, so you really can relax and use them if you like, and
TreeView will have plenty of time to mature and be enhanced.
There's still lots of room for optimization there.
We not like O(N) routines :-)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]