diff options
| author | adisbladis <adisbladis@gmail.com> | 2020-12-07 13:42:59 +0100 |
|---|---|---|
| committer | adisbladis <adisbladis@gmail.com> | 2020-12-07 14:14:20 +0100 |
| commit | ef3ed45c1240197b721f38a01ec48e7dc6e7c179 (patch) | |
| tree | 73659ae7e14b7b6c9c0ed39a1a633d31b126ab4c /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | a817ce3adac8057216fa27326bf8c36e19a04fa6 (diff) | |
nix-gitignore: Optimise performance
There are a few operations in this library that naively runs on every
iteration while they could be cached.
For a simple test repository with a small number of files and ~1000
gitignore patterns this brings memory usage down from ~233M to ~157M
and wall time from 2.6s down to 0.78s.
This should scale similarly with the number of files in a repository.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
