зеркало из https://github.com/mozilla/gecko-dev.git
666423b6d5
This is two straightforward optimizations in FileCopier: avoiding a redundant iteration over the directory structure to find destination files (which includes a call to normpath) and avoiding redundant calls to determine directories to preserve when remove_unaccounted is not specified (which include a call to dirname). Running a no-op install of _tests with this patch results in a reduction of about 25,000 calls to normpath and remove about 220,000 calls to dirname, resulting in an overall speedup of 10-20%. --HG-- extra : commitid : 8nyTo489q8X |
||
---|---|---|
.. | ||
dumbmake | ||
mozbuild | ||
mozpack | ||
TODO | ||
setup.py |