Files
pre-commit/pre_commit
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
2019-01-23 20:48:41 -08:00
2014-03-12 20:25:19 -07:00
2014-07-22 19:22:29 -07:00
2019-01-06 10:32:58 -08:00
2017-09-30 15:53:44 -07:00
2017-09-30 15:53:44 -07:00
2019-01-02 19:07:23 -08:00
2018-12-27 18:25:52 -08:00
2017-09-30 15:53:44 -07:00
2019-01-02 19:07:23 -08:00
2017-07-12 18:30:51 -07: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
2019-01-05 13:15:23 -08:00