Ugorji Nwoke
|
bbab85ee41
codec: make detachZeroCopyBytes robuts so it works well for bytes and IO paths
|
6 years ago |
Ugorji Nwoke
|
d192c3eb23
codec: optimize iteration of slices/array/chan
|
6 years ago |
Ugorji Nwoke
|
01ca2b437b
codec: documentation: nits
|
6 years ago |
Ugorji Nwoke
|
c8e440640c
codec: clean up old comments in code
|
6 years ago |
Ugorji Nwoke
|
fbe36f8c79
codec: resolve TODO's
|
6 years ago |
Ugorji Nwoke
|
2019b5eec8
codec: remove EncodeAsis and optimize access to jsonEncDriver
|
6 years ago |
Ugorji Nwoke
|
d12be5c22c
codec: directly call BasicHandle.fnVia (not fn trampoline method)
|
6 years ago |
Ugorji Nwoke
|
72028106ff
codec: mapRange takes a mapIter so it is stack-allocated
|
6 years ago |
Ugorji Nwoke
|
c9665baae2
codec: do not check for bounds in bytesDecReader.
|
6 years ago |
Ugorji Nwoke
|
a2ee74cda4
codec: refactoring to eliminate more bounds-checking
|
6 years ago |
Ugorji Nwoke
|
4751785f62
codec: add bitset32|256.check so we don't double-compare
|
6 years ago |
Ugorji Nwoke
|
6393644481
codec: move Enc/Decoder into enc/decDriver for better memory arrangement
|
6 years ago |
Ugorji Nwoke
|
fc17d02f6e
codec: remove hasElemSeparators and elemsep flags
|
6 years ago |
Ugorji Nwoke
|
62a9b077fa
codec: json: jsonEncDriver is one type, not a smartly assembled type
|
6 years ago |
Ugorji Nwoke
|
d110c3e273
codec: bytesDecReader doesn't check for io.EOF; caller converts out of range to io.EOF
|
6 years ago |
Ugorji Nwoke
|
02c5536133
codec: rename and use decReaderSwitch/encWriterSwitch directly
|
6 years ago |
Ugorji Nwoke
|
47cabf7243
codec: rename decReaderSwitch to decRd and encWriterSwitch to encWr
|
6 years ago |
Ugorji Nwoke
|
b9c4c43bb8
codec: update helper.go high level arch summary to include sync.Pool usage
|
6 years ago |
Ugorji Nwoke
|
e6bc129461
codec: changes for struct alignment
|
6 years ago |
Ugorji Nwoke
|
533a52b1da
codec: Deprecate ExplicitRelease option
|
6 years ago |
Ugorji Nwoke
|
228d245bc4
codec: binc should not use sync.Pool for symbols support
|
6 years ago |
Ugorji Nwoke
|
20da2f131b
codec: unsafe mapRange iterator optimized
|
6 years ago |
Ugorji Nwoke
|
1deb530697
codec: only maintain pools for long-lived objects shared across goroutines
|
6 years ago |
Ugorji Nwoke
|
68fe200749
codec: use top-level variables for sync.Pool
|
6 years ago |
Ugorji Nwoke
|
8ee173dc4f
codec: optimize getting slice from an array
|
6 years ago |
Ugorji Nwoke
|
258d29cb75
codec: refactor json appendStringAsBytes and use pools for all []byte alloc
|
6 years ago |
Ugorji Nwoke
|
0eebff5dd3
codec: refactor helper function names to match rvGetXXX and rvSetXXX
|
6 years ago |
Ugorji Nwoke
|
6fd7dc6ca2
codec: add more optimized unsafe versions of reflect and expand slices in batches
|
6 years ago |
Ugorji Nwoke
|
7865e43e77
codec: reflect.ValueOf is now rv4i (to allow future optimization)
|
6 years ago |
Ugorji Nwoke
|
eee1bf808f
codec: json: use sync.pool for decoding buffers and optimize DecodeBytes
|
6 years ago |