Ugorji Nwoke
|
e81e4324dd
codec: rename decNaked to fauxUnion
|
5 years ago |
Ugorji Nwoke
|
d192c3eb23
codec: optimize iteration of slices/array/chan
|
5 years ago |
Ugorji Nwoke
|
c8e440640c
codec: clean up old comments in code
|
5 years ago |
Ugorji Nwoke
|
fbe36f8c79
codec: resolve TODO's
|
5 years ago |
Ugorji Nwoke
|
2019b5eec8
codec: remove EncodeAsis and optimize access to jsonEncDriver
|
5 years ago |
Ugorji Nwoke
|
72028106ff
codec: mapRange takes a mapIter so it is stack-allocated
|
5 years ago |
Ugorji Nwoke
|
07000b7fdf
codec: rvGetArray4Slice should not allocate
|
5 years ago |
Ugorji Nwoke
|
b01f3206d8
codec: map iterator says whether the key/value() method returns valid values
|
5 years ago |
Ugorji Nwoke
|
20da2f131b
codec: unsafe mapRange iterator optimized
|
5 years ago |
Ugorji Nwoke
|
1deb530697
codec: only maintain pools for long-lived objects shared across goroutines
|
5 years ago |
Ugorji Nwoke
|
8ee173dc4f
codec: optimize getting slice from an array
|
5 years ago |
Ugorji Nwoke
|
d51d2e5fca
codec: fix and add tests for PreferArrayOverSlice
|
5 years ago |
Ugorji Nwoke
|
9577d195b1
codec: add optimized versions of copy AND bytes array<-->slice conversion
|
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
|
880afd579f
codec: helper_(not_)?unsafe.go has generic helper functions
|
5 years ago |
Ugorji Nwoke
|
ae051ebe2b
codec: optimize reflect mode
|
5 years ago |
Ugorji Nwoke
|
247404d1fa
codec: StringToRaw should not be checked during function selection
|
5 years ago |
Ugorji Nwoke
|
f8b212a5ba
codec: helper_unsafe: nit - move lines about
|
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
|
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
|
f5cdbb5f50
codec: streamline unsafe (and safe) map range implementation
|
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
|
0a3d04cd38
codec: json: try fast-path for decoding floats before defaulting to strconv.ParseFloat
|
5 years ago |