27 Apr
2007
27 Apr
'07
14:09
* Jiri Srain
And why is order important ?
Parse primary first, read one package, write one package. Then other.
Find each package in the database, modify it. I thought that was what Jano wanted to avoid.
sqlite is reasonably fast and does quite good caching. It might be helpful to have different tables for (the attributes contained in) primary, other, and filelists. So you don't have to modify a table entry, but just to query the 'master' table for the package id and do 'stream' writing to the other tables. With an index, this should be cheap. Klaus -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org