Ugorji Nwoke
|
42bc974514
codec: support ZeroCopy for allowing decoded output point into input bytes
|
5 years ago |
Ugorji Nwoke
|
084bffbbe8
codec: (minor performance): if d.d.bytes, call into rb directly
|
5 years ago |
Ugorji Nwoke
|
e81e4324dd
codec: rename decNaked to fauxUnion
|
5 years ago |
Ugorji Nwoke
|
ad942d8cb5
codec: decDriver doesn't have a Nil() method - remove across board
|
5 years ago |
Ugorji Nwoke
|
32ba854a0b
codec: uncacheRead only makes sense for json - remove from others
|
5 years ago |
Ugorji Nwoke
|
c8e440640c
codec: clean up old comments in code
|
5 years ago |
Ugorji Nwoke
|
31766e6012
codec: StringToRaw should only be checked in the Handle
|
5 years ago |
Ugorji Nwoke
|
efbb381fb0
codec: cache aligned en|decDrivers for different formats.
|
5 years ago |
Ugorji Nwoke
|
6393644481
codec: move Enc/Decoder into enc/decDriver for better memory arrangement
|
5 years ago |
Ugorji Nwoke
|
fc17d02f6e
codec: remove hasElemSeparators and elemsep flags
|
5 years ago |
Ugorji Nwoke
|
47cabf7243
codec: rename decReaderSwitch to decRd and encWriterSwitch to encWr
|
5 years ago |
Ugorji Nwoke
|
1deb530697
codec: only maintain pools for long-lived objects shared across goroutines
|
5 years ago |
Ugorji Nwoke
|
8c78ba40d8
codec: move references to SetXXXExt from format handler files
|
5 years ago |
Ugorji Nwoke
|
ffda9d4fba
codec: streamline nil decoding: nil means zero value consistently
|
5 years ago |
Ugorji Nwoke
|
0cf90f7e87
codec: add (unsafe) alloc-free support for map iteration 1.12+
|
5 years ago |
Ugorji Nwoke
|
372321e378
codec: remove decDriver.DecodeString() - redundant, and replaced by DecodeStringAsBytes()
|
5 years ago |
Ugorji Nwoke
|
7aa0a70eb5
codec: simple: support EncZeroValuesAsNil for map values that are strings
|
5 years ago |
Ugorji Nwoke
|
8b3661cea8
codec: redesign how codecFnInfo is loaded from, and support SelfExt
|
5 years ago |
Ugorji Nwoke
|
e05b287349
codec: handle []byte encoded as array (as opposed to native mode per format)
|
5 years ago |
Ugorji Nwoke
|
6edad4e9b6
codec: clean up float handling code
|
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
|
a70535d849
codec: generalize DecodeOptions:RawToString flag (for all encodings)
|
5 years ago |
Ugorji Nwoke
|
aa2c01e021
codec: introduce EncodeOptions:StringToRaw flag to control string encoding
|
5 years ago |
Ugorji Nwoke
|
23876e7a59
codec: do not pool decNaked anymore - make it smaller and part of Decoder
|
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
|
16061014c5
codec: document concurrency guarantees and fix analyze script warnings
|
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 |