[Aptitude-devel] Experimental package and package_pool implementation
Sune Vuorela
nospam at vuorela.dk
Mon Jul 12 22:30:10 UTC 2010
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.
/Sune
More information about the Aptitude-devel
mailing list