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
|
a2154fa654
codec: do not generate fast-path for uncommon types, and generate sort.Sort wrappers
|
5 years ago |
Ugorji Nwoke
|
aa2c01e021
codec: introduce EncodeOptions:StringToRaw flag to control string encoding
|
5 years ago |
Ugorji Nwoke
|
d75b2dcb6b
codec: regenerate fast-path.generated.go
|
6 years ago |
Ugorji Nwoke
|
6bfa3bf159
codec: do not pool codecFn helper - make it part of BasicHandle instead
|
6 years ago |
Ugorji Nwoke
|
5922e8c83c
codec: fast-path: pull out mapbyslice error message into a global constant string
|
6 years ago |
Ugorji Nwoke
|
66da5d561e
codec: sort.Interface implementations use uint for indexing
|
6 years ago |
Ugorji Nwoke
|
6c173b2436
codec: use uint indices for array element and slicing to eliminate the x >= 0 bounds check, and more inlining
|
6 years ago |
Ugorji Nwoke
|
e531a5003d
codec: refactor to afford bounds check elimination
|
6 years ago |
Ugorji Nwoke
|
92b7607989
codec: refactor for better inlining, improve intf for string encoding, and fix some vet/staticcheck/false-sharing concerns
|
6 years ago |
Ugorji Nwoke
|
70bcc61d9a
codec: limit depth of nested structures
|
6 years ago |
Ugorji Nwoke
|
6e9891a451
codec: clean up, improved symbol handling and numeric overflow support
|
7 years ago |
Ugorji Nwoke
|
4d084a8659
codec: streamline panic/recover error handling, manage compatibility with codecgen and support structs where fields are encoded as numbers
|
7 years ago |
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 years ago |
Ugorji Nwoke
|
69968d74ae
codec: update generated files (per recent changes to the generators)
|
7 years ago |
Ugorji Nwoke
|
5a66da2e74
codec: fix suggestions raised by golint -min_confidence 0.9, misspellings and ineffassign
|
7 years ago |
Ugorji Nwoke
|
dfe41753fe
codec: fast-path: when decoding slices, check if a nil value is in stream
|
7 years ago |
Ugorji Nwoke
|
427fecfaa5
codec: update comment in generated code per accepted proposal: https://golang.org/s/generatedcode
|
7 years ago |
Ugorji Nwoke
|
792f4ab7b3
codec: remove recognized-rtid logic
|
7 years ago |
Ugorji Nwoke
|
3c86213f83
codec: test: add tests for encoding, decoding and zero'ing scalars and maps/slices containing them.
|
7 years ago |
Ugorji Nwoke
|
b039683517
codec: clean up recognizedRtid support, add more tests and update testing TODO
|
7 years ago |
Ugorji Nwoke
|
16373bd701
codec: test: add tests for symbols, and nil or 0-length fast-path slices and maps
|
7 years ago |
Ugorji Nwoke
|
384bdbdfc1
codec: streamline fast-path support, ensure symetry for types implementing known interfaces, and expand tests
|
7 years ago |
Ugorji Nwoke
|
c3953defa8
codec: streamline library: refactor sendContainerState and clean up handle-specific test flags
|
7 years ago |
Ugorji Nwoke
|
50530d8d14
codec: Multiple fixes, enhancements and test expansion across the board.
|
7 years ago |
Ugorji Nwoke
|
54210f4e07
codec: major update with MAJOR PERFORMANCE improvements
|
7 years ago |
Nick Galbreath
|
3487a5545b
Merge pull requester rw #t GODxtkkfgggxxrtoyt Yt imrxxme re from from client9/master
|
8 years ago |
Ugorji Nwoke
|
b94837a240
codec: honor go's selection rule for using field at shallowest depth.
|
8 years ago |
Ugorji Nwoke
|
d517a49d59
codec: improve MapBySlice performance, and integrate tests for it.
|
9 years ago |