Files
git/compat
Ben Peart bda7f0728a fixup! Win32: add a cache below mingw's lstat and dirent implementations
The fscache_clear() function used to be O(n^2). But we can easily make
it O(n) instead.

Update fscache_clear to be O(n) instead of O(n^2) by using inter_next
instead of starting from the begining each time with iter_first. While
at it, also disallow rehashing while removing the entries.

This speeds up a simple `git commit -m foo` when fscache is enabled
(because fscache_clear() is called implicitly by preload_index()).

Signed-off-by: Ben Peart <Ben.Peart@microsoft.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2017-05-29 11:33:01 +02:00
..
2017-05-09 23:41:25 +02:00
2016-01-04 09:51:33 -08:00
2017-05-09 23:43:20 +02:00
2017-05-09 23:39:06 +02:00
2017-05-09 23:39:00 +02:00
2017-01-23 11:02:34 -08:00
2017-05-09 23:43:46 +02:00