why doesn't yum cache anything?
mricon at gmail.com
Sat Jan 1 15:03:08 UTC 2005
On Sat, 01 Jan 2005 13:00:25 +0100, Nils Philippsen <nphilipp at redhat.com> wrote:
> As Levente has mentioned, perhaps this could be a bit speedier:
> 5. pickling/unpickling the yum internal data structures instead of
> storing/reading XML; depending on how efficient (un)pickling is, this
> might be faster though maybe at the cost of that we can't reuse yum
> caches between architectures (I think we can live with that if python
> doesn't pickle/unpickle portably)
It already does that. It only parses XML when you see "MD Read". The
rest of the time it loads pickled data. The downside is that loading
pickles is very memory-hungry.
More information about the devel