Mailinglist Archive: zypp-devel (43 mails)
| < Previous | Next > |
Re: [zypp-devel] reading file lists from metadata
- From: Klaus Kaempf <kkaempf@xxxxxxx>
- Date: Fri, 27 Apr 2007 14:22:20 +0200
- Message-id: <20070427122220.GA20117@xxxxxxxxxxxxx>
* Jan Kupec <jkupec@xxxxxxx> [Apr 27. 2007 14:19]:
>
> > When you insert a package, you get the id.
> > You can get a map with the ids.
>
> ... if done this way, the memory overhead would be only this map with
> the ids. Still much better than before.
>
> > Those optmizations could also be introduced in the cache store.
>
Yes, thats the right approach.
So it can be implemented as (costly) selects first and optimized
by (in-memory) maps later.
Klaus
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
>
> > When you insert a package, you get the id.
> > You can get a map with the ids.
>
> ... if done this way, the memory overhead would be only this map with
> the ids. Still much better than before.
>
> > Those optmizations could also be introduced in the cache store.
>
Yes, thats the right approach.
So it can be implemented as (costly) selects first and optimized
by (in-memory) maps later.
Klaus
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |