[Aptitude-devel] Experimental package and package_pool implementation

Piotr Galiszewski piotr at galiszewski.pl
Mon Jul 12 23:01:13 UTC 2010


2010/7/13 Sune Vuorela <nospam at vuorela.dk>:
> On 2010-07-12, Daniel Burrows <dburrows at google.com> wrote:
>>     - I would drop the virtual destructor here and make it impossible to
>>       subclass package (by hiding its constructor and using a static factory).
>>       That allows you to avoid a virtual method table for each instance (not
>>       a huge deal even if we create tens of thousands of them, but not bad
>>       either)
>
> I think that constantly converting to and from Qt types is going to be a
> bigger performance killer than most other things in this code, so I
> really think we should do as few conversions as possible to and from Qt
> types. This means, use the QFoo in as many cases as possible.
>

After rebasing later patches I will try to get new numbers. I am sure
that it will be slightly slower from Qt perspective, the question is
how much?

> /Sune
>
>
> _______________________________________________
> Aptitude-devel mailing list
> Aptitude-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/aptitude-devel
>
-- 
Regards
Piotr Galiszewski



More information about the Aptitude-devel mailing list