[Aptitude-devel] Experimental package and package_pool implementation

Piotr Galiszewski piotr at galiszewski.pl
Thu Jul 15 19:19:48 UTC 2010


2010/7/15 Daniel Burrows <dburrows at google.com>:
> On Thu, Jul 15, 2010 at 10:05 AM, Piotr Galiszewski
> <piotr at galiszewski.pl> wrote:
>> Today I have rebased my later patches to current code. Unfortunately
>> there is one big problem with package_pool. Creating package list
>> takes nearly 17 seconds on my machine. The problem is with
>> boost::multi_index_container. I have changed this to std::vector and
>> time is 0.3s now.
>
>  Interesting, I'd like to know why that is so we can avoid hitting it again.
> Glad it's fixed, anyway.
>

I have no idea. Maybe it was caused by not used hashed_unique?

>> There are also some problems with my boost::optional usage. I will
>> push new version shortly probably with some numbers about viewing and
>> sorting performance
>
>  What sorts of problems?
>

Probably there are no problems with sorting. This test will be obtain
information about what is the approximately cost of converting
std::strings to QStrings. but I still do not have this numbers as I am
preparing to push some more commits (probably not ready for merge,
cause there are still lack of docs, but it is something "usable")

I will be refactoring filters later today and try to incorporate your
comments and proposals
>  Daniel
>

-- 
Regards
Piotr Galiszewski



More information about the Aptitude-devel mailing list