Ugorji Nwoke
|
16061014c5
codec: document concurrency guarantees and fix analyze script warnings
|
5 years ago |
Ugorji Nwoke
|
ce1d126566
codec: misc fixes - handle error from io.Reader.Read, fix MissingFielder support, refactor for better mid-stack inlining, use custom bufio.Writer impl, etc
|
5 years ago |
Ugorji Nwoke
|
52c929c5b8
codec: defer call with closure giving weird errors - revert
|
5 years ago |
Ugorji Nwoke
|
f623015d6c
codec: put defer calls in closure - as runtime optimizes defer with no params
|
5 years ago |
Ugorji Nwoke
|
92b7607989
codec: refactor for better inlining, improve intf for string encoding, and fix some vet/staticcheck/false-sharing concerns
|
5 years ago |
Ugorji Nwoke
|
99ea80c8b1
codec: change signature to MissingFielder interface
|
6 years ago |
Ugorji Nwoke
|
a65ca39637
codec: use types for encode and decode errors, which expose underlying error
|
6 years ago |
Ugorji Nwoke
|
e5646b99d2
codec: support ability to preserve missing fields
|
6 years ago |
Ugorji Nwoke
|
0a18df59e4
codec: use decReader and encWriter interfaces (not the struct decReaderSwitch/encWriterSwitch)
|
6 years ago |
Ugorji Nwoke
|
1322318ca6
codec: set up codebase so as to take advantage of mid-stack inlining support
|
6 years ago |
Ugorji Nwoke
|
eeb0478a81
codec: if json and the struct field name (or encode name) is ascii and alphanumeric, just write it out
|
6 years ago |
Ugorji Nwoke
|
6f05ff1f01
codec: En|Decode should have at most 1 defer call
|
6 years ago |
Ugorji Nwoke
|
9af07b2035
codec: streamline chan encoding/decoding
|
6 years ago |
Ugorji Nwoke
|
97ffc5827b
codec: update that mid-stack linling is expected in go 1.11 development cycle
|
6 years ago |
Allen Luce
|
b5b9495648
codec: propagate Flush() errors at end of encode
|
6 years ago |
Ugorji Nwoke
|
ccfe18359b
codecgen: fix decStruct to handle all variations (pointers, fields, slice/array elem)
|
6 years ago |
Ugorji Nwoke
|
d41456c8f4
codec: refactor codecgen, optimize isEmptyValue and cache more static type info
|
6 years ago |
Ugorji Nwoke
|
c93fc2cdd1
codec: refactor struct field loading and data structures, for performance and memory friendliness
|
6 years ago |
Ugorji Nwoke
|
7bdfbc6818
codec: clean up codebase to try to keep lines within 90 bytes.
|
6 years ago |
Ugorji Nwoke
|
d2b2650062
codec: support mapping non-interface type to an interface
|
6 years ago |
Ugorji Nwoke
|
4ad9ed71b1
codec: re-factor and streamline code for publishing standards, consistency and performance
|
6 years ago |
Ugorji Nwoke
|
6e9891a451
codec: clean up, improved symbol handling and numeric overflow support
|
6 years ago |
Ugorji Nwoke
|
e60f01bc16
codec: update copyright to say 2012-2018
|
6 years ago |
Ugorji Nwoke
|
4d084a8659
codec: streamline panic/recover error handling, manage compatibility with codecgen and support structs where fields are encoded as numbers
|
6 years ago |
Ugorji Nwoke
|
f0aa215a7d
codec: clean up new Encoder initialization, and add (unused commented out) copyHandle function
|
6 years ago |
Ugorji Nwoke
|
7a1de86227
codec: refactoring to set us up for mid-stack inlining performance improvements in 1.10
|
6 years ago |
Ugorji Nwoke
|
710e35eef1
codec: re-arrange Encoder and Decoder structs for better cache coherency
|
6 years ago |
Ugorji Nwoke
|
84cb69a8af
codec: multiple clean-ups especially on optimizing extension support and removing TODOs
|
6 years ago |
Ugorji Nwoke
|
af6dcdd35a
codec: fix chan handling and encoding of uint8 kinds where type != byte
|
6 years ago |
Ugorji Nwoke
|
debb8e2d2e
codec: support time.Time natively in all formats, and remove Builtin mode.
|
7 years ago |