Ugorji Nwoke
|
049e534137
codec: refactor decode to move decArrayCannotExpand to dedicated function
|
5 anos atrás |
Ugorji Nwoke
|
2019b5eec8
codec: remove EncodeAsis and optimize access to jsonEncDriver
|
5 anos atrás |
Ugorji Nwoke
|
31766e6012
codec: StringToRaw should only be checked in the Handle
|
5 anos atrás |
Ugorji Nwoke
|
b4c79eef6c
codec: fastpath: refactor uncommon arraycannotexpand into its own function
|
5 anos atrás |
Ugorji Nwoke
|
6c2e17b36f
codec: fix decoding into array with length smaller than stream
|
5 anos atrás |
Ugorji Nwoke
|
ffda9d4fba
codec: streamline nil decoding: nil means zero value consistently
|
5 anos atrás |
Ugorji Nwoke
|
a2a200a106
codec: streamline encoding of nil values
|
5 anos atrás |
Ugorji Nwoke
|
d0398cecca
codec: re-generated some files
|
5 anos atrás |
Ugorji Nwoke
|
79e5e7c841
codec: streamline and optimize fast-path functions
|
5 anos atrás |
Ugorji Nwoke
|
e05b287349
codec: handle []byte encoded as array (as opposed to native mode per format)
|
5 anos atrás |
Ugorji Nwoke
|
86ce10f272
codec: misc refactoring, clean up and optimizations
|
5 anos atrás |
Ugorji Nwoke
|
eb5e2717b6
codec: fast-path: optimize: remove unnecessary local variables
|
5 anos atrás |
Ugorji Nwoke
|
a2154fa654
codec: do not generate fast-path for uncommon types, and generate sort.Sort wrappers
|
5 anos atrás |
Ugorji Nwoke
|
aa2c01e021
codec: introduce EncodeOptions:StringToRaw flag to control string encoding
|
5 anos atrás |
Ugorji Nwoke
|
d75b2dcb6b
codec: regenerate fast-path.generated.go
|
6 anos atrás |
Ugorji Nwoke
|
6bfa3bf159
codec: do not pool codecFn helper - make it part of BasicHandle instead
|
6 anos atrás |
Ugorji Nwoke
|
5922e8c83c
codec: fast-path: pull out mapbyslice error message into a global constant string
|
6 anos atrás |
Ugorji Nwoke
|
66da5d561e
codec: sort.Interface implementations use uint for indexing
|
6 anos atrás |
Ugorji Nwoke
|
6c173b2436
codec: use uint indices for array element and slicing to eliminate the x >= 0 bounds check, and more inlining
|
6 anos atrás |
Ugorji Nwoke
|
e531a5003d
codec: refactor to afford bounds check elimination
|
6 anos atrás |
Ugorji Nwoke
|
92b7607989
codec: refactor for better inlining, improve intf for string encoding, and fix some vet/staticcheck/false-sharing concerns
|
6 anos atrás |
Ugorji Nwoke
|
70bcc61d9a
codec: limit depth of nested structures
|
6 anos atrás |
Ugorji Nwoke
|
6e9891a451
codec: clean up, improved symbol handling and numeric overflow support
|
7 anos atrás |
Ugorji Nwoke
|
4d084a8659
codec: streamline panic/recover error handling, manage compatibility with codecgen and support structs where fields are encoded as numbers
|
7 anos atrás |
Ugorji Nwoke
|
ef9d3323cc
codec: fast-path: ensure we decode fully and copy slice contents if possible, but never modify slice if nil and canChange=false
|
7 anos atrás |
Ugorji Nwoke
|
69968d74ae
codec: update generated files (per recent changes to the generators)
|
7 anos atrás |
Ugorji Nwoke
|
5a66da2e74
codec: fix suggestions raised by golint -min_confidence 0.9, misspellings and ineffassign
|
7 anos atrás |
Ugorji Nwoke
|
dfe41753fe
codec: fast-path: when decoding slices, check if a nil value is in stream
|
7 anos atrás |
Ugorji Nwoke
|
427fecfaa5
codec: update comment in generated code per accepted proposal: https://golang.org/s/generatedcode
|
7 anos atrás |
Ugorji Nwoke
|
792f4ab7b3
codec: remove recognized-rtid logic
|
7 anos atrás |