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
..
2020-06-01 13:59:20 +01:00
2020-08-15 08:55:57 +02:00
2020-11-24 13:55:04 +01:00
2020-11-29 00:03:51 +00:00
2020-10-28 17:55:10 +01:00
2020-05-12 00:44:44 -04:00
2020-11-22 19:26:59 +01:00
2020-06-10 06:42:48 -03:00
2020-10-30 13:32:13 -05:00
2020-12-02 14:57:23 +01:00
2020-05-16 00:21:21 +00:00
2020-09-21 08:30:58 +10:00
2020-07-24 03:16:17 +02:00
2020-05-25 09:22:54 +02:00
2020-12-02 09:53:53 +01:00
2020-10-24 16:43:05 +05:30
2020-05-04 17:43:29 +05:30
2020-09-13 12:34:08 +02:00
2020-12-05 18:56:46 +01:00
2020-03-02 23:57:40 +01:00
2020-03-09 02:11:45 -04:00
2020-11-09 11:39:28 +00:00
2020-07-06 14:40:49 -04:00
2020-12-04 03:28:00 +00:00
2020-10-26 09:01:04 +01:00
2020-08-27 10:48:18 -07:00
2020-09-12 23:04:50 +02:00
2020-11-27 01:17:32 +01:00
2020-12-07 14:14:20 +01:00
2020-07-02 07:13:34 +02:00
2020-09-07 16:31:59 +02:00
2020-09-05 16:07:59 +02:00
2020-11-29 10:50:25 -05:00
2020-11-29 13:51:33 +01:00
2020-11-24 12:42:06 -05:00
2020-05-21 19:46:38 +02:00
2020-04-27 14:31:40 +02:00
2020-11-24 12:42:06 -05:00
2020-09-24 10:58:10 +02:00
2020-10-29 21:39:22 -04:00
2020-05-09 23:38:21 +02:00
2020-08-16 10:23:53 +02:00