Files
pre-commit/tests
Anthony Sottile b1389603e0 Speed up filename filtering.
Before there was a `getcwd` syscall for every filename which was filtered.

Instead this is now cached per-run.

- When all files are identified by filename only: ~45% improvement
- When no files are identified by filename only: ~55% improvement

This makes little difference to overall execution, the bigger win is
eliminating the `memoize_by_cwd` hack.  Just removing the memoization would
have *increased* the runtime by 300-500%.
2019-01-23 20:48:41 -08:00
..
2019-01-23 20:48:41 -08:00
2018-12-29 13:13:31 -08:00
2014-03-12 20:25:19 -07:00
2019-01-06 12:08:52 -08:00
2016-03-25 11:21:50 -07:00
2019-01-02 19:07:23 -08:00
2016-11-26 12:15:55 -08:00
2019-01-06 10:32:58 -08:00
2019-01-02 19:07:23 -08:00
2019-01-23 20:48:41 -08:00