Ugorji Nwoke
|
772ced7fd4
codec: fix lint warning - let all BasicHandle methods use same "x" as receiver name
|
5 years ago |
Ugorji Nwoke
|
23876e7a59
codec: do not pool decNaked anymore - make it smaller and part of Decoder
|
5 years ago |
Ugorji Nwoke
|
7c42fb4a28
codec: remove decNakedContainers - it serves no value towards reducing allocation
|
5 years ago |
Ugorji Nwoke
|
cb0f4b5eec
codec: refactor: rename (En|De)coder.Close() -> Release(), and option DoNotClose -> ExplicitRelease
|
5 years ago |
Ugorji Nwoke
|
24e6c72677
codec: refactor Selfer check outside switch (encode/decode)
|
5 years ago |
Ugorji Nwoke
|
e72634d4d3
codecgen: expand documentation and exec command from same dir as input/output files
|
5 years ago |
Ugorji Nwoke
|
d75b2dcb6b
codec: regenerate fast-path.generated.go
|
5 years ago |
Ugorji Nwoke
|
688a245586
codec: make decNakedContainers lazily initialized (on demand, as needed)
|
5 years ago |
Ugorji Nwoke
|
6bfa3bf159
codec: do not pool codecFn helper - make it part of BasicHandle instead
|
5 years ago |
Ugorji Nwoke
|
856da096db
codec: implicitly call Close() by default
|
5 years ago |
Ugorji Nwoke
|
f6bb70d25a
codec: shared pool for large values used in Encode/Decode
|
5 years ago |
Ugorji Nwoke
|
4f1af4e05b
codec: bytesDecReader.read can only err with io.EOF (never io.ErrUnexpectedEOF)
|
5 years ago |
Ugorji Nwoke
|
5922e8c83c
codec: fast-path: pull out mapbyslice error message into a global constant string
|
5 years ago |
Ugorji Nwoke
|
d15fb97ece
codec: build.sh: benchmarks take flags for their own execution.
|
5 years ago |
Ugorji Nwoke
|
2a5d5fbdfc
codec: build.sh: introduce verbose flag
|
5 years ago |
Ugorji Nwoke
|
66da5d561e
codec: sort.Interface implementations use uint for indexing
|
5 years ago |
Ugorji Nwoke
|
6b9be71790
codec: update TODO for tests
|
5 years ago |
Ugorji Nwoke
|
ada6a71252
codec: move development notes from 0doc.go into private scratchpad (notes.md)
|
5 years ago |
Ugorji Nwoke
|
abe66f8e0f
codec: json: minor changes to support bounds check elimination
|
5 years ago |
Ugorji Nwoke
|
6c173b2436
codec: use uint indices for array element and slicing to eliminate the x >= 0 bounds check, and more inlining
|
5 years ago |
Ugorji Nwoke
|
e531a5003d
codec: refactor to afford bounds check elimination
|
5 years ago |
Ugorji Nwoke
|
3bfe5b406a
codec: more support for mid-stack inlining support - gives best performance with -l=4
|
5 years ago |
Ugorji Nwoke
|
7d13b37dbe
codec: bufioDecReader: do not implement io.(ByteScanner|Reader) - its unnecessary
|
5 years ago |
Ugorji Nwoke
|
ef9792b2e7
codec: bufioDecReader.ReadByte: special case for common path where there is buffered data
|
5 years ago |
Ugorji Nwoke
|
f8fe4a359c
codec: set defEncByteBufSize=1024, used as length of input []byte or io.Writer buffer
|
5 years ago |
Ugorji Nwoke
|
d8f842e29b
codec: benchmarks: take parameter for bench depth
|
5 years ago |
Ugorji Nwoke
|
0165389f8c
codec: bufioEncWriter.reset should not create a new []byte everytime, but reuse old one
|
5 years ago |
Ugorji Nwoke
|
16061014c5
codec: document concurrency guarantees and fix analyze script warnings
|
5 years ago |
Ugorji Nwoke
|
8033270256
codec: 0doc.go: cleanup and add TODO to remove deprecated APIs used by old codecgen'ed files
|
5 years ago |
Ugorji Nwoke
|
ce1d126566
codec: misc fixes - handle error from io.Reader.Read, fix MissingFielder support, refactor for better mid-stack inlining, use custom bufio.Writer impl, etc
|
5 years ago |