-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
recursiveloader: use less memory in assert_directory_verifies
In order to avoid loading all manifest entries into memory at once, make assert_directory_verifies use a shared sort_key to iterate over directories and manifest entries in the same order. For verification of the entire gentoo tree, my tests have shown that this change reduces the memory footprint by about 63%, while consuming about 20% more time.
- Loading branch information
Showing
1 changed file
with
161 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters