Ugorji Nwoke
|
68fe200749
codec: use top-level variables for sync.Pool
|
5 years ago |
Ugorji Nwoke
|
8ee173dc4f
codec: optimize getting slice from an array
|
5 years ago |
Ugorji Nwoke
|
258d29cb75
codec: refactor json appendStringAsBytes and use pools for all []byte alloc
|
5 years ago |
Ugorji Nwoke
|
0eebff5dd3
codec: refactor helper function names to match rvGetXXX and rvSetXXX
|
5 years ago |
Ugorji Nwoke
|
6fd7dc6ca2
codec: add more optimized unsafe versions of reflect and expand slices in batches
|
5 years ago |
Ugorji Nwoke
|
7865e43e77
codec: reflect.ValueOf is now rv4i (to allow future optimization)
|
5 years ago |
Ugorji Nwoke
|
eee1bf808f
codec: json: use sync.pool for decoding buffers and optimize DecodeBytes
|
5 years ago |
Ugorji Nwoke
|
ae051ebe2b
codec: optimize reflect mode
|
5 years ago |
Ugorji Nwoke
|
8883efaba0
codec: TimeNotBuiltIn must not be modified after first use
|
5 years ago |
Ugorji Nwoke
|
4843bc3445
codec: use value-based bitset32 flag for tracking supported kinds
|
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
|
c28b8c1a13
codec: nit: clean up code (remove comments, break into multiple lines)
|
5 years ago |
Ugorji Nwoke
|
8dd026d40b
codec: check Handle.StringToRaw before assigning encoder function
|
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 |
Jernej Kos
|
f0f82f0300
codec: Tests and fix for #301 (#302)
|
5 years ago |
Ugorji Nwoke
|
c1e0c9eb4f
codec: expand pool (for use by binc)
|
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
|
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
|
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 |