mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
2a6a9f4abe
This function was found to be a little slow while profiling due to repeated calls to mozpath.dirname. This patch speeds up the function replacing dirname with string manipulation (these paths are already normalized), by caching results on the basis of directory, and converting from iteration to recursion to increase use of the cache. This commit speeds up the "install tests" step run as a part of the build and running tests by ~10% on a fast linux laptop. |
||
---|---|---|
.. | ||
dumbmake | ||
mozbuild | ||
mozpack | ||
setup.py | ||
TODO |