Significantly improve efficiency of tracing.

I thought I was being smart by using a trie to record blob existence
and sizes. I was not. The trie approach had at least ~5 times less
throughput and consumed entirely unreasonable amounts of RAM.

A hashmap works just fine here.
This commit is contained in:
Catherine
2026-05-05 01:57:41 +00:00
parent dd7268a657
commit 73e47cd8d5
4 changed files with 24 additions and 29 deletions
-1
View File
@@ -10,7 +10,6 @@ require (
github.com/bits-and-blooms/bloom/v3 v3.7.1
github.com/c2h5oh/datasize v0.0.0-20231215233829-aa82cc1e6500
github.com/creasty/defaults v1.8.0
github.com/dghubble/trie v0.1.0
github.com/fatih/color v1.19.0
github.com/go-git/go-billy/v6 v6.0.0-20260410103409-85b6241850b5
github.com/go-git/go-git/v6 v6.0.0-alpha.2