aboutsummaryrefslogtreecommitdiff
path: root/internal/format/packidx/lookup.go
Commit message (Expand)AuthorAgeFilesLines
* internal/format/packidx/lookup.go: Don't float HEAD mainGravatar Runxi Yu9 days1-2/+3
* internal/format/packidx: Lookup interpolation heuristic•••On my copy of linux.git with a few packs, -.32 on all-miss lookups, -.15 on all-hit lookups, -.05 on walking all objects in the root tree. For microbenchmarks, -.4 on honest workloads, and +.85 on fully adversarial workloads. Might be able to improve the adversarial one in the future, but it's a rare case not worth optimizing too much for. Gravatar Runxi Yu9 days1-0/+47
* internal/format/packidx: Fix lintsGravatar Runxi Yu12 days1-1/+1
* internal/format/packidx: Add lookup by object IDGravatar Runxi Yu12 days1-0/+73