1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00
nixpkgs/pkgs
adisbladis ef3ed45c12
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.
2020-12-07 14:14:20 +01:00
..
applications Merge pull request #106110 from r-ryantm/auto-update/pulseeffects 2020-12-07 13:00:19 +01:00
build-support nix-gitignore: Optimise performance 2020-12-07 14:14:20 +01:00
common-updater
data Merge branch 'master' into staging-next 2020-12-06 03:28:13 +01:00
desktops Merge branch 'master' into staging-next 2020-12-06 03:28:13 +01:00
development ocamlPackages.odoc: 1.5.1 -> 1.5.2 2020-12-07 13:11:11 +01:00
games
misc vimPlugins: update 2020-12-07 05:50:56 +04:00
os-specific bolt: Disable atime tests 2020-12-07 08:44:08 +01:00
pkgs-lib
servers mailman: Disable tests 2020-12-07 11:02:01 +01:00
shells
stdenv
test
tools Merge pull request #106137 from r-ryantm/auto-update/python-swiftclient 2020-12-07 12:31:05 +01:00
top-level Merge pull request #105819 from chkno/jsonstreams 2020-12-07 12:25:49 +01:00