[Rpm-maint] Rpm Database musings

Michael Schroeder mls at suse.de
Mon Mar 4 11:23:59 UTC 2013


On Mon, Mar 04, 2013 at 12:19:34PM +0100, Ales Kozumplik wrote:
> On 03/04/2013 11:21 AM, Michael Schroeder wrote:
>> Actually libsolv can do a "incremental" update if it has an old
>> solv file available, i.e. it takes the unchanged content from the
>> old solv file and only queries new headers from the rpm database.
>> Ales doesn't yet use this in method in hawkey.
>
> Didn't know about it but it will become relevant once optimizing DNF load 
> time is relevant. Also, can libsolv do the same for the XML metadata?

No, but there's no way to do "random access" for the xml data
anyway, we always have to parse it completely.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH,  GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}


More information about the Rpm-maint mailing list