aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/objfile
Commit message (Collapse)AuthorAgeFilesLines
* Optimize zlib reader and consolidate sync.poolsPaulo Gomes2022-11-072-19/+14
| | | | | | | | | | | | | | | | | | | Expands on the optimisations from https://github.com/fluxcd/go-git/pull/5 and ensures that zlib reader does not need to recreate a deflate dictionary at every use. The use of sync pools was consolidated into a new sync utils package. name old time/op new time/op delta Parser-16 7.51ms ± 3% 7.71ms ± 6% ~ (p=0.222 n=5+5) name old alloc/op new alloc/op delta Parser-16 4.65MB ± 3% 1.90MB ± 3% -59.06% (p=0.008 n=5+5) name old allocs/op new allocs/op delta Parser-16 3.48k ± 0% 3.32k ± 0% -4.57% (p=0.016 n=5+4) Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* Use Sync.Pool pointers to optimise memory usagePaulo Gomes2022-11-071-2/+13
| | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* fix nilOleg Kovalov2020-07-011-1/+2
|
* fix goreportcard warningsOleg Kovalov2020-07-012-2/+4
|
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-105-6/+6
|
* all: simplificationferhat elmas2017-11-291-5/+1
| | | | | | | | | | - no length for map initialization - don't check for boolean/error return - don't format string - use string method of bytes buffer instead of converting bytes to string - use `strings.Contains` instead of `strings.Index` - use `bytes.Equal` instead of `bytes.Compare`
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-075-6/+6
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* package plumbing documentation improvements (#248)Máximo Cuadros2017-02-071-0/+2
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-305-6/+6
|
* Fix some typos in plumbing docs (#244)Sergio Arbeo2017-01-301-1/+1
|
* new plumbing package (#118)Máximo Cuadros2016-11-085-0/+443
* plumbing: now core was renamed to core, and formats and clients moved inside