Ugorji Nwoke
|
6c2e17b36f
codec: fix decoding into array with length smaller than stream
|
5 years ago |
Ugorji Nwoke
|
167c36279a
codec: allow decoding into interfaces with methods.
|
5 years ago |
Ugorji Nwoke
|
ffda9d4fba
codec: streamline nil decoding: nil means zero value consistently
|
5 years ago |
Ugorji Nwoke
|
a2a200a106
codec: streamline encoding of nil values
|
5 years ago |
Ugorji Nwoke
|
19cb75f56d
codec: added mapSet and mapDelete helpers (safe/unsafe variants)
|
5 years ago |
Ugorji Nwoke
|
97d11b8ecd
codec: nit: refactor - move from decode.go to reader.go
|
5 years ago |
Ugorji Nwoke
|
a052c0a76c
codec: separate reader.go/writer.go from decode.go/encode.go
|
5 years ago |
Ugorji Nwoke
|
f3e5d18b86
codec: optimize reflect.{IsNil, SetLen} when using unsafe
|
5 years ago |
Ugorji Nwoke
|
0cf90f7e87
codec: add (unsafe) alloc-free support for map iteration 1.12+
|
5 years ago |
Ugorji Nwoke
|
d1cf3a337a
codec: clean up decoding for maps in reflect mode (kMap)
|
5 years ago |
Ugorji Nwoke
|
6aee11ae58
codec: decode: call atEndOfDecode appropriately in mustDecode()
|
5 years ago |
Ugorji Nwoke
|
a540df977d
codec: add atEndOfDecode() method to decDriver
|
5 years ago |
Ugorji Nwoke
|
7a66d0f64d
codec: honor SelfExt during naked decoding
|
5 years ago |
Ugorji Nwoke
|
8b3661cea8
codec: redesign how codecFnInfo is loaded from, and support SelfExt
|
5 years ago |
Ugorji Nwoke
|
0a3d04cd38
codec: json: try fast-path for decoding floats before defaulting to strconv.ParseFloat
|
5 years ago |
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
|
eb5e2717b6
codec: fast-path: optimize: remove unnecessary local variables
|
5 years ago |
Ugorji Nwoke
|
070826dc1c
codec: remove "internal" deprecated methods of encDriver and decDriver
|
5 years ago |
Ugorji Nwoke
|
967be11608
codec: false-sharing and cache-line optimizations
|
5 years ago |
Ugorji Nwoke
|
1d7ab5c50b
documentation and README updates and some code reorganization
|
5 years ago |
Ugorji Nwoke
|
a70535d849
codec: generalize DecodeOptions:RawToString flag (for all encodings)
|
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
|
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
|
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 |