Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _rpm caches installed rpms



Adam Spiers wrote:
>I'm personally a fan of caching (sp?).  Others may not be; should it
>be configurable?  In any case, the cache can easily be force-rebuilt.

I think caching is dangerous in this case.  If the rpm command is being
used, then the data you are caching -- the list of installed packages
-- is almost certainly changing.  The list can also be generated (with
rpm -qa) quite quickly.  In both of these aspects, rpm is unlike, for
exxample, man, where caching is useful.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author