aboutsummaryrefslogtreecommitdiff
path: root/pack_pack.go
Commit message (Expand)AuthorAgeFilesLines
* Disable per-object validation during reads•••In general, git inflates the packed objects and recomputes the object hash before accepting them into hte object database during remote operations. But when simply inflating/parsing the objects for read from the local object store, it does not recompute the hash. Gravatar Runxi Yu2025-11-171-4/+4
* pack: Use a Go map with a mutex instead of a sync.Map for packfiles•••Very few writes, you don't typically see more than a dozen packfiles. A ton of reads. Go maps are the obvious choice. Gravatar Runxi Yu2025-11-171-0/+24
* Revert "Compute checksum when reading packfiles"•••This reverts commit 1dcb92427c23d0a8b23c0154b892243c749afa5a. Yeah this should be part of the network protocol rather than being done on *every read*. Gravatar Runxi Yu2025-11-171-22/+2
* Compute checksum when reading packfilesGravatar Runxi Yu2025-11-171-2/+22
* Fix some docs and API typesGravatar Runxi Yu2025-11-161-2/+2
* Documentation overhaulGravatar Runxi Yu2025-11-161-1/+0
* Extract bufpool into its own packageGravatar Runxi Yu2025-11-161-45/+47
* Rename ObjType enumGravatar Runxi Yu2025-11-161-39/+39
* Unexport Repository.HashSizeGravatar Runxi Yu2025-11-161-4/+4
* Rename ObjType -> ObjectTypeGravatar Runxi Yu2025-11-161-9/+9
* hash: Make fewer helper functions need explicit hash length fieldsGravatar Runxi Yu2025-11-161-4/+6
* Revert "hash: Generic hash-algorithm API"•••This reverts commit 94bfb1fa147f80e6ec39009d41fc2f853925e0a5. Generics actually kinda suck for these purposes... once you look at it from the user's perspective. Gravatar Runxi Yu2025-11-161-16/+16
* hash: Generic hash-algorithm APIGravatar Runxi Yu2025-11-161-16/+16
* Support multiple hash sizes in one buildGravatar Runxi Yu2025-11-161-2/+2
* Add initial support for multi pack indexesGravatar Runxi Yu2025-11-151-0/+13
* Unexport PackLocationGravatar Runxi Yu2025-11-141-9/+9
* Read types and sizes without inflating entire objectGravatar Runxi Yu2025-11-141-0/+83
* Initial commitGravatar Runxi Yu2025-11-131-0/+473