Ugorji Nwoke
|
86ce10f272
codec: misc refactoring, clean up and optimizations
|
пре 5 година |
Ugorji Nwoke
|
eb5e2717b6
codec: fast-path: optimize: remove unnecessary local variables
|
пре 5 година |
Ugorji Nwoke
|
a2154fa654
codec: do not generate fast-path for uncommon types, and generate sort.Sort wrappers
|
пре 5 година |
Ugorji Nwoke
|
aa2c01e021
codec: introduce EncodeOptions:StringToRaw flag to control string encoding
|
пре 5 година |
Ugorji Nwoke
|
5922e8c83c
codec: fast-path: pull out mapbyslice error message into a global constant string
|
пре 6 година |
Ugorji Nwoke
|
66da5d561e
codec: sort.Interface implementations use uint for indexing
|
пре 6 година |
Ugorji Nwoke
|
6c173b2436
codec: use uint indices for array element and slicing to eliminate the x >= 0 bounds check, and more inlining
|
пре 6 година |
Ugorji Nwoke
|
e531a5003d
codec: refactor to afford bounds check elimination
|
пре 6 година |
Ugorji Nwoke
|
92b7607989
codec: refactor for better inlining, improve intf for string encoding, and fix some vet/staticcheck/false-sharing concerns
|
пре 6 година |
Ugorji Nwoke
|
70bcc61d9a
codec: limit depth of nested structures
|
пре 6 година |
Ugorji Nwoke
|
6e9891a451
codec: clean up, improved symbol handling and numeric overflow support
|
пре 7 година |
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 година |
Ugorji Nwoke
|
bdf09c214e
codec: Add method for encoding/decoding a container containing uint8's.
|
пре 7 година |
Ugorji Nwoke
|
5a66da2e74
codec: fix suggestions raised by golint -min_confidence 0.9, misspellings and ineffassign
|
пре 7 година |
Ugorji Nwoke
|
dfe41753fe
codec: fast-path: when decoding slices, check if a nil value is in stream
|
пре 7 година |
Ugorji Nwoke
|
427fecfaa5
codec: update comment in generated code per accepted proposal: https://golang.org/s/generatedcode
|
пре 7 година |
Ugorji Nwoke
|
792f4ab7b3
codec: remove recognized-rtid logic
|
пре 7 година |
Ugorji Nwoke
|
3c86213f83
codec: test: add tests for encoding, decoding and zero'ing scalars and maps/slices containing them.
|
пре 7 година |
Ugorji Nwoke
|
b039683517
codec: clean up recognizedRtid support, add more tests and update testing TODO
|
пре 7 година |
Ugorji Nwoke
|
16373bd701
codec: test: add tests for symbols, and nil or 0-length fast-path slices and maps
|
пре 7 година |
Ugorji Nwoke
|
384bdbdfc1
codec: streamline fast-path support, ensure symetry for types implementing known interfaces, and expand tests
|
пре 7 година |
Ugorji Nwoke
|
c3953defa8
codec: streamline library: refactor sendContainerState and clean up handle-specific test flags
|
пре 7 година |
Ugorji Nwoke
|
50530d8d14
codec: Multiple fixes, enhancements and test expansion across the board.
|
пре 7 година |
Ugorji Nwoke
|
54210f4e07
codec: major update with MAJOR PERFORMANCE improvements
|
пре 7 година |
Nick Galbreath
|
3487a5545b
Merge pull requester rw #t GODxtkkfgggxxrtoyt Yt imrxxme re from from client9/master
|
пре 8 година |
Ugorji Nwoke
|
b94837a240
codec: honor go's selection rule for using field at shallowest depth.
|
пре 8 година |
Ugorji Nwoke
|
d517a49d59
codec: improve MapBySlice performance, and integrate tests for it.
|
пре 9 година |
Ugorji Nwoke
|
4a79e5b7b2
codec: fix fast-path so changed flag and value are propagated to caller.
|
пре 9 година |
Ugorji Nwoke
|
f081086498
codec: Add Reset methods, performance improvements and bug fixes.
|
пре 9 година |
Ugorji Nwoke
|
8a2a3a8c48
codec: work around https://github.com/golang/go/issues/12927
|
пре 9 година |