mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
9d3d647f00
We were doing some really silly stuff before and abusing the os.walk() call, having to walk the entire local database for every single PKG rule. We really only need top level directories, and we can cache any generated package since calls to db_read() are well-defined and only happen in one place. This speeds up the running of tests that may want to add 100 PKG_VERSION rules at once, where before we had to limit how many we used in order to not put a serious cramp in the speed of the test suite run. Signed-off-by: Dan McGee <dan@archlinux.org> |
||
---|---|---|
.. | ||
pacman | ||
util |