ref: f0da5938bc9433800114783b93d8a691ac9bb69f
dir: /TODO.md/
## Internal to-do list * Revamp error handling completely. * Consider adding repository methods that attempt to resolve objects of a particular type. They would attempt to resolve the object's header and return an error if the type mismatches; if it matches, they continue from that point (passing along some state such as the packLocation to avoid re-resolving the location from index files). * Consider making Ref an interface satisfied by concrete RefDetached, RefSymbolic. * Consider adding compression agility. * There may be some cases where integer overflows are handled incorrectly. * Use https://pkg.go.dev/simd/archsimd@go1.26rc1 for SIMD instead of assembly. * Add a function to insert an entry into a tree.