[Aptitude-devel] [PATCH 2 of 4] * src/gtk/entityview.cc (EntityView::setup_column_properties): if

Obey Arthur Liu arthur at milliways.fr
Fri Dec 26 17:54:59 UTC 2008


Luca Bruno a écrit :
> On Fri, Dec 26, 2008 at 02:12:50PM +0100, Obey Arthur Liu wrote:
>> I skipped this patch because of limitations with GTK+. GTK+ only allows
>> 'fixed' width columns when the TreeView is in fixed height mode. Since
>> fixed height mode is a significant speedup with large trees, I think
>> we'll have to keep it that way.
> 
> I think the only large tree would be the one showing all the packages
> (when you click Find without any search pattern).
> Have you already checked if really speeds up a lot that tree if you remove
> fixed height mode? Or whatelse expensive check?

I did some benchmarking and it turns out the performance gain is not
that significant so I turned fixed height off and applied your patch.

Arthur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20081226/0b6a715e/attachment.pgp 


More information about the Aptitude-devel mailing list