diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2022-11-07 16:55:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 16:55:53 +0100 |
commit | f37bb587b6634435afb5069b2101cb4e0ff78d63 (patch) | |
tree | 9e6ace8591fff4e95f982304842f0bf8512bd612 /plumbing/object/common.go | |
parent | 652bc83fe45c114440de41d7e0fecf3e4b9e517d (diff) | |
parent | a2c309de872dc18053acb186b1ec125d1f723a90 (diff) | |
download | go-git-f37bb587b6634435afb5069b2101cb4e0ff78d63.tar.gz |
Merge pull request #608 from pjbgf/optimise-zlib-reader
Optimise zlib reader and consolidate sync.Pools
Diffstat (limited to 'plumbing/object/common.go')
-rw-r--r-- | plumbing/object/common.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plumbing/object/common.go b/plumbing/object/common.go deleted file mode 100644 index 3591f5f..0000000 --- a/plumbing/object/common.go +++ /dev/null @@ -1,12 +0,0 @@ -package object - -import ( - "bufio" - "sync" -) - -var bufPool = sync.Pool{ - New: func() interface{} { - return bufio.NewReader(nil) - }, -} |