From 415d394222c613dd5c4f4b7b510fe402102cdc05 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 Jul 2020 11:04:57 -0400 Subject: [PATCH] thought --- doc/todo/precache_logs_for_speed_with_cat-file_--buffer.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/todo/precache_logs_for_speed_with_cat-file_--buffer.mdwn b/doc/todo/precache_logs_for_speed_with_cat-file_--buffer.mdwn index 28beb31ae6..8a49cd97c8 100644 --- a/doc/todo/precache_logs_for_speed_with_cat-file_--buffer.mdwn +++ b/doc/todo/precache_logs_for_speed_with_cat-file_--buffer.mdwn @@ -11,6 +11,11 @@ and precache them. > log, it will actually be read twice.) This is a surprising result, > and I don't understand why it's slower, but backburnered this > optimisation for now. +> +> > Hmm, but `git annex get` does not need location log access when +> > the object is already present. So that was the wrong thing to benchmark +> > this with. `copy --to` would be a better benchmark. To speed up get, +> > it would need to check inAnnex before caching the location log. Another thing that the same cat-file --buffer approach could be used with is to cat the annex links. Git.LsFiles.inRepoDetails provides the Sha