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
|
5950f00715
codec: add support for go 1.12 MapRange
|
5 years ago |
Ugorji Nwoke
|
9755d889f6
codec: remove comments and empty lines (nit)
|
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
|
54a1849a7f
codec: Fix CheckCircularRef where a pointer points to 2 different types
|
5 years ago |
Ugorji Nwoke
|
449ecf999a
codec: support for extension types which fully delegate encoding/decoding to library
|
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
|
92a3d5189e
codec: add writeqstr implementation to efficiently write a quoted string in json
|
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
|
39c532fb3a
codec: refactoring, fix support for successive encoding and atEndOfEncode
|
5 years ago |
Ugorji Nwoke
|
95c34d148d
codec: clarify and fix EncodeOptions:StringToRaw inconsistencies
|
5 years ago |
Ugorji Nwoke
|
aa2c01e021
codec: introduce EncodeOptions:StringToRaw flag to control string encoding
|
5 years ago |
Ugorji Nwoke
|
c4a1c341dc
codec: encWriterSwitch.end() panic's, and should not be called AS-IS during a final "recover"
|
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
|
497916c003
codec: at start of encode, ensure bufioEncWriter's buffer is not nil
|
5 years ago |
Ugorji Nwoke
|
feac831543
codec: encapsulate sync.Pool handling (better code)
|
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
|
d75b2dcb6b
codec: regenerate fast-path.generated.go
|
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 |
Ugorji Nwoke
|
f6bb70d25a
codec: shared pool for large values used in Encode/Decode
|
5 years ago |
Ugorji Nwoke
|
e531a5003d
codec: refactor to afford bounds check elimination
|
5 years ago |
Ugorji Nwoke
|
3bfe5b406a
codec: more support for mid-stack inlining support - gives best performance with -l=4
|
5 years ago |
Ugorji Nwoke
|
f8fe4a359c
codec: set defEncByteBufSize=1024, used as length of input []byte or io.Writer buffer
|
5 years ago |
Ugorji Nwoke
|
0165389f8c
codec: bufioEncWriter.reset should not create a new []byte everytime, but reuse old one
|
5 years ago |