aboutsummaryrefslogtreecommitdiff
path: root/loose.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-18 00:00:00 +0000
committerGravatar Runxi Yu2025-11-18 00:00:00 +0000
commitc7e88852add91975a0924088b8c09ff5b917ac9b (patch)
tree436c291f5cda080175b34a47c7d70eafe53329eb /loose.go
parentRemove redundant copy in loose.go (diff)
signature
Use a pooled zlib implementation
It's trivially forked from the standard library and improves git ls-tree -r --long speed by approximately 25%.
Diffstat (limited to 'loose.go')
-rw-r--r--loose.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/loose.go b/loose.go
index c0843515..44a1ee99 100644
--- a/loose.go
+++ b/loose.go
@@ -2,7 +2,7 @@ package furgit
import (
"bytes"
- "compress/zlib"
+ "git.sr.ht/~runxiyu/furgit/internal/zlib"
"fmt"
"io"
"os"