author | Nicolas Pitre <nico@cam.org> | |
Mon, 19 Mar 2007 20:31:04 +0000 (16:31 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 20 Mar 2007 01:16:02 +0000 (18:16 -0700) | ||
commit | 5e08ecbff219dc68a13eb372b39030134e737c8a | |
tree | 5eba8109d14335a46225efb8aba79d1a9facd6a7 | tree | snapshot |
parent | 3358004a006714477c2c44577507081cb5124fa4 | commit | diff |
use a LRU eviction policy for the delta base cache
This provides a smoother degradation in performance when the cache
gets trashed due to the delta_base_cache_limit being reached. Limited
testing with really small delta_base_cache_limit values appears to confirm
this.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This provides a smoother degradation in performance when the cache
gets trashed due to the delta_base_cache_limit being reached. Limited
testing with really small delta_base_cache_limit values appears to confirm
this.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c | diff | blob | history |