Ugorji Nwoke
|
3f8d8502cb
codec: json: support more precise and performant floating point operations
|
5 years ago |
Ugorji Nwoke
|
86ce10f272
codec: misc refactoring, clean up and optimizations
|
5 years ago |
Ugorji Nwoke
|
84324d5fb4
codec: skip subsequent structFieldInfo with same encName and same depth
|
5 years ago |
Ugorji Nwoke
|
967be11608
codec: false-sharing and cache-line optimizations
|
5 years ago |
Ugorji Nwoke
|
a2154fa654
codec: do not generate fast-path for uncommon types, and generate sort.Sort wrappers
|
5 years ago |
Ugorji Nwoke
|
1d7ab5c50b
documentation and README updates and some code reorganization
|
5 years ago |
Ugorji Nwoke
|
b47423764d
codec: make uncommon path in basicHandle() noinline
|
5 years ago |
Ugorji Nwoke
|
28cf408da6
codec: fix potential data race where atomic.cas was used instead of once.Do
|
5 years ago |
Ugorji Nwoke
|
ee1426cffe
codec: make tracking of #calls only applicable to types which must Release() when done
|
5 years ago |
Ugorji Nwoke
|
feac831543
codec: encapsulate sync.Pool handling (better code)
|
6 years ago |
Ugorji Nwoke
|
772ced7fd4
codec: fix lint warning - let all BasicHandle methods use same "x" as receiver name
|
6 years ago |
Ugorji Nwoke
|
23876e7a59
codec: do not pool decNaked anymore - make it smaller and part of Decoder
|
6 years ago |
Ugorji Nwoke
|
cb0f4b5eec
codec: refactor: rename (En|De)coder.Close() -> Release(), and option DoNotClose -> ExplicitRelease
|
6 years ago |
Ugorji Nwoke
|
6bfa3bf159
codec: do not pool codecFn helper - make it part of BasicHandle instead
|
6 years ago |
Ugorji Nwoke
|
856da096db
codec: implicitly call Close() by default
|
6 years ago |
Ugorji Nwoke
|
f6bb70d25a
codec: shared pool for large values used in Encode/Decode
|
6 years ago |
Ugorji Nwoke
|
66da5d561e
codec: sort.Interface implementations use uint for indexing
|
6 years ago |
Ugorji Nwoke
|
6c173b2436
codec: use uint indices for array element and slicing to eliminate the x >= 0 bounds check, and more inlining
|
6 years ago |
Ugorji Nwoke
|
e531a5003d
codec: refactor to afford bounds check elimination
|
6 years ago |
Ugorji Nwoke
|
16061014c5
codec: document concurrency guarantees and fix analyze script warnings
|
6 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
|
6 years ago |
Ugorji Nwoke
|
92b7607989
codec: refactor for better inlining, improve intf for string encoding, and fix some vet/staticcheck/false-sharing concerns
|
6 years ago |
Ugorji Nwoke
|
405bbdfe11
codec: document that Selfer should not blindly call (Must)?(En|De)code
|
6 years ago |
Ugorji Nwoke
|
ee2199668c
codec: rpc: use lock free mechanisms to track the close status.
|
6 years ago |
Ugorji Nwoke
|
99ea80c8b1
codec: change signature to MissingFielder interface
|
6 years ago |
Ugorji Nwoke
|
037e5aa7ef
codec: provide TimeNotBuiltin option to allow time.Time be handled in custom way
|
6 years ago |
Ugorji Nwoke
|
a65ca39637
codec: use types for encode and decode errors, which expose underlying error
|
6 years ago |
Ugorji Nwoke
|
e5646b99d2
codec: support ability to preserve missing fields
|
6 years ago |
Ugorji Nwoke
|
e789f6e370
codec: codecFner.reset should reset all typeInfos (in case *TypeInfos changes)
|
6 years ago |
Ugorji Nwoke
|
0a18df59e4
codec: use decReader and encWriter interfaces (not the struct decReaderSwitch/encWriterSwitch)
|
6 years ago |