Ugorji Nwoke
|
86ce10f272
codec: misc refactoring, clean up and optimizations
|
5 роки тому |
Ugorji Nwoke
|
eb5e2717b6
codec: fast-path: optimize: remove unnecessary local variables
|
5 роки тому |
Ugorji Nwoke
|
070826dc1c
codec: remove "internal" deprecated methods of encDriver and decDriver
|
5 роки тому |
Ugorji Nwoke
|
92a3d5189e
codec: add writeqstr implementation to efficiently write a quoted string in json
|
5 роки тому |
Ugorji Nwoke
|
a2154fa654
codec: do not generate fast-path for uncommon types, and generate sort.Sort wrappers
|
5 роки тому |
Ugorji Nwoke
|
39c532fb3a
codec: refactoring, fix support for successive encoding and atEndOfEncode
|
5 роки тому |
Ugorji Nwoke
|
95c34d148d
codec: clarify and fix EncodeOptions:StringToRaw inconsistencies
|
5 роки тому |
Ugorji Nwoke
|
aa2c01e021
codec: introduce EncodeOptions:StringToRaw flag to control string encoding
|
5 роки тому |
Ugorji Nwoke
|
c4a1c341dc
codec: encWriterSwitch.end() panic's, and should not be called AS-IS during a final "recover"
|
5 роки тому |
Ugorji Nwoke
|
ee1426cffe
codec: make tracking of #calls only applicable to types which must Release() when done
|
5 роки тому |
Ugorji Nwoke
|
497916c003
codec: at start of encode, ensure bufioEncWriter's buffer is not nil
|
5 роки тому |
Ugorji Nwoke
|
feac831543
codec: encapsulate sync.Pool handling (better code)
|
6 роки тому |
Ugorji Nwoke
|
cb0f4b5eec
codec: refactor: rename (En|De)coder.Close() -> Release(), and option DoNotClose -> ExplicitRelease
|
6 роки тому |
Ugorji Nwoke
|
24e6c72677
codec: refactor Selfer check outside switch (encode/decode)
|
6 роки тому |
Ugorji Nwoke
|
d75b2dcb6b
codec: regenerate fast-path.generated.go
|
6 роки тому |
Ugorji Nwoke
|
6bfa3bf159
codec: do not pool codecFn helper - make it part of BasicHandle instead
|
6 роки тому |
Ugorji Nwoke
|
856da096db
codec: implicitly call Close() by default
|
6 роки тому |
Ugorji Nwoke
|
f6bb70d25a
codec: shared pool for large values used in Encode/Decode
|
6 роки тому |
Ugorji Nwoke
|
e531a5003d
codec: refactor to afford bounds check elimination
|
6 роки тому |
Ugorji Nwoke
|
3bfe5b406a
codec: more support for mid-stack inlining support - gives best performance with -l=4
|
6 роки тому |
Ugorji Nwoke
|
f8fe4a359c
codec: set defEncByteBufSize=1024, used as length of input []byte or io.Writer buffer
|
6 роки тому |
Ugorji Nwoke
|
0165389f8c
codec: bufioEncWriter.reset should not create a new []byte everytime, but reuse old one
|
6 роки тому |
Ugorji Nwoke
|
16061014c5
codec: document concurrency guarantees and fix analyze script warnings
|
6 роки тому |
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 роки тому |
Ugorji Nwoke
|
52c929c5b8
codec: defer call with closure giving weird errors - revert
|
6 роки тому |
Ugorji Nwoke
|
f623015d6c
codec: put defer calls in closure - as runtime optimizes defer with no params
|
6 роки тому |
Ugorji Nwoke
|
92b7607989
codec: refactor for better inlining, improve intf for string encoding, and fix some vet/staticcheck/false-sharing concerns
|
6 роки тому |
Ugorji Nwoke
|
99ea80c8b1
codec: change signature to MissingFielder interface
|
6 роки тому |
Ugorji Nwoke
|
a65ca39637
codec: use types for encode and decode errors, which expose underlying error
|
6 роки тому |
Ugorji Nwoke
|
e5646b99d2
codec: support ability to preserve missing fields
|
6 роки тому |