aboutsummaryrefslogtreecommitdiff
path: root/loose.go
Commit message (Expand)AuthorAgeFilesLines
* obj, loose: Add Object.Serialize() interfaceGravatar Runxi Yu2026-01-291-16/+3
* More changes from the import URL updateGravatar Runxi Yu2026-01-191-3/+3
* hash: Key by algorithm, not sizeGravatar Runxi Yu2026-01-171-2/+2
* loose/pack: Remove commented-out verifyTypedObject•••It's not supposed to be used there anyway Gravatar Runxi Yu2026-01-151-3/+0
* bufpool: Return bytes.Buffer, rather than a pointer to it•••It's silly to allocate a bytes.Buffer struct, however small it is, every time Borrow is called, since the entire purpose is to reduce allocations. Gravatar Runxi Yu2025-11-231-12/+12
* obj: call parseObjectBody in ReadObject instead of loose/pack readersGravatar Runxi Yu2025-11-221-5/+3
* bufpool: Return *BufferGravatar Runxi Yu2025-11-221-9/+9
* Switch back to internal zlib for loose objects too•••Still marginally less overhead due to pooling Gravatar Runxi Yu2025-11-191-1/+1
* Probably should name the custom packages speciallyGravatar Runxi Yu2025-11-191-5/+5
* Remove some redundant codeGravatar Runxi Yu2025-11-191-1/+1
* Initial attempt to make a compressor with less overhead•••io.Reader actually has massive overhead... Gravatar Runxi Yu2025-11-191-17/+26
* Our zlib ought to be read-only for nowGravatar Runxi Yu2025-11-191-1/+2
* Fix import orderGravatar Runxi Yu2025-11-181-1/+2
* Use a pooled zlib implementation•••It's trivially forked from the standard library and improves git ls-tree -r --long speed by approximately 25%. Gravatar Runxi Yu2025-11-181-1/+1
* Remove redundant copy in loose.goGravatar Runxi Yu2025-11-181-2/+1
* 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-3/+3
* Fix some docs and API typesGravatar Runxi Yu2025-11-161-1/+1
* Rename ObjType enumGravatar Runxi Yu2025-11-161-31/+31
* Unexport Repository.HashSizeGravatar Runxi Yu2025-11-161-2/+2
* Rename ObjType -> ObjectTypeGravatar Runxi Yu2025-11-161-4/+4
* hash: Make fewer helper functions need explicit hash length fieldsGravatar Runxi Yu2025-11-161-13/+29
* 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-26/+26
* hash: Generic hash-algorithm APIGravatar Runxi Yu2025-11-161-26/+26
* Support multiple hash sizes in one buildGravatar Runxi Yu2025-11-161-12/+12
* Loose object writing draftGravatar Runxi Yu2025-11-151-0/+46
* Read types and sizes without inflating entire objectGravatar Runxi Yu2025-11-141-22/+89
* Initial commitGravatar Runxi Yu2025-11-131-0/+88