Ugorji Nwoke
|
3f8d8502cb
codec: json: support more precise and performant floating point operations
|
5 vuotta sitten |
Ugorji Nwoke
|
86ce10f272
codec: misc refactoring, clean up and optimizations
|
5 vuotta sitten |
Ugorji Nwoke
|
eb5e2717b6
codec: fast-path: optimize: remove unnecessary local variables
|
5 vuotta sitten |
Ugorji Nwoke
|
070826dc1c
codec: remove "internal" deprecated methods of encDriver and decDriver
|
5 vuotta sitten |
Ugorji Nwoke
|
967be11608
codec: false-sharing and cache-line optimizations
|
5 vuotta sitten |
Ugorji Nwoke
|
1d7ab5c50b
documentation and README updates and some code reorganization
|
5 vuotta sitten |
Ugorji Nwoke
|
a70535d849
codec: generalize DecodeOptions:RawToString flag (for all encodings)
|
5 vuotta sitten |
Ugorji Nwoke
|
ee1426cffe
codec: make tracking of #calls only applicable to types which must Release() when done
|
5 vuotta sitten |
Ugorji Nwoke
|
23876e7a59
codec: do not pool decNaked anymore - make it smaller and part of Decoder
|
6 vuotta sitten |
Ugorji Nwoke
|
7c42fb4a28
codec: remove decNakedContainers - it serves no value towards reducing allocation
|
6 vuotta sitten |
Ugorji Nwoke
|
cb0f4b5eec
codec: refactor: rename (En|De)coder.Close() -> Release(), and option DoNotClose -> ExplicitRelease
|
6 vuotta sitten |
Ugorji Nwoke
|
24e6c72677
codec: refactor Selfer check outside switch (encode/decode)
|
6 vuotta sitten |
Ugorji Nwoke
|
688a245586
codec: make decNakedContainers lazily initialized (on demand, as needed)
|
6 vuotta sitten |
Ugorji Nwoke
|
6bfa3bf159
codec: do not pool codecFn helper - make it part of BasicHandle instead
|
6 vuotta sitten |
Ugorji Nwoke
|
856da096db
codec: implicitly call Close() by default
|
6 vuotta sitten |
Ugorji Nwoke
|
f6bb70d25a
codec: shared pool for large values used in Encode/Decode
|
6 vuotta sitten |
Ugorji Nwoke
|
4f1af4e05b
codec: bytesDecReader.read can only err with io.EOF (never io.ErrUnexpectedEOF)
|
6 vuotta sitten |
Ugorji Nwoke
|
6c173b2436
codec: use uint indices for array element and slicing to eliminate the x >= 0 bounds check, and more inlining
|
6 vuotta sitten |
Ugorji Nwoke
|
e531a5003d
codec: refactor to afford bounds check elimination
|
6 vuotta sitten |
Ugorji Nwoke
|
3bfe5b406a
codec: more support for mid-stack inlining support - gives best performance with -l=4
|
6 vuotta sitten |
Ugorji Nwoke
|
7d13b37dbe
codec: bufioDecReader: do not implement io.(ByteScanner|Reader) - its unnecessary
|
6 vuotta sitten |
Ugorji Nwoke
|
ef9792b2e7
codec: bufioDecReader.ReadByte: special case for common path where there is buffered data
|
6 vuotta sitten |
Ugorji Nwoke
|
f8fe4a359c
codec: set defEncByteBufSize=1024, used as length of input []byte or io.Writer buffer
|
6 vuotta sitten |
Ugorji Nwoke
|
16061014c5
codec: document concurrency guarantees and fix analyze script warnings
|
6 vuotta sitten |
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
|
6 vuotta sitten |
Ugorji Nwoke
|
52c929c5b8
codec: defer call with closure giving weird errors - revert
|
6 vuotta sitten |
Ugorji Nwoke
|
f623015d6c
codec: put defer calls in closure - as runtime optimizes defer with no params
|
6 vuotta sitten |
Ugorji Nwoke
|
92b7607989
codec: refactor for better inlining, improve intf for string encoding, and fix some vet/staticcheck/false-sharing concerns
|
6 vuotta sitten |
Ugorji Nwoke
|
61ada7950e
codec: support MaxDepth within swallow()
|
6 vuotta sitten |
Ugorji Nwoke
|
70bcc61d9a
codec: limit depth of nested structures
|
6 vuotta sitten |