> I don't find it noteworthy that reading from an index is faster than actually recursively walking the filesystem
I agree, what I found noteworthy though is that git ls-files uses this index you already have for.
(author here, “proof”: https://cj.rs/contact/ & https://keybase.io/leowzukw)