On 19/01/11 10:50, Dan McGee wrote:
Nothing will use this yet, but we might as well read the info in while processing the database. The drawback would be vastly increased memory usage, so we might want to add a flag enabling/disabling the loading of this data.
This will at least for now be unused by pacman, but a pkgfile.c program at least now has the option of using standard libalpm interfaces to search for file ownership.
Signed-off-by: Dan McGee<dan@archlinux.org> --- Thoughts from the peanut gallery?
Not only will memory usage increase massively, but the read speed of the sync databases will also take a decent hit. I'd very much want to reintroduce some lazy loading to the sync database reading just for this, especially since that files list would only be needed for a -So operation. Allan