Ugorji Nwoke
|
084bffbbe8
codec: (minor performance): if d.d.bytes, call into rb directly
|
5 years ago |
Ugorji Nwoke
|
7d8ec0a2e6
codec: try to have fast readNumber function in decRd
|
5 years ago |
Ugorji Nwoke
|
b8d6461919
codec: optimize number parsing
|
5 years ago |
Ugorji Nwoke
|
b1c7242bcb
codec: bufioDecReader: streamline readbFill to accomodate eof and panic
|
5 years ago |
Ugorji Nwoke
|
e1056242c1
codec: json: optimize reading escaped string and inline decRd.(un)readn1, encWr.write(n2|qstr)
|
5 years ago |
Ugorji Nwoke
|
3b8306a2a0
codec: add decReader.readn1eof and optimize jsonParseInteger
|
5 years ago |
Ugorji Nwoke
|
f819262d36
codec: faster bitset and skip whitespace
|
5 years ago |
Ugorji Nwoke
|
82dbfaf494
codec: clean up reader.go (remove old comments)
|
5 years ago |
Ugorji Nwoke
|
ee788eb515
codec: reader: add last() method to return last byte read
|
5 years ago |
Ugorji Nwoke
|
bbab85ee41
codec: make detachZeroCopyBytes robuts so it works well for bytes and IO paths
|
5 years ago |
Ugorji Nwoke
|
d5aca6305c
codec: decRd: use if/else-if switch so its just one conditional branch
|
5 years ago |
Ugorji Nwoke
|
8f07e3a6b7
codec: minor re-arranging of decRd
|
5 years ago |
Ugorji Nwoke
|
c8e440640c
codec: clean up old comments in code
|
5 years ago |
Ugorji Nwoke
|
2019b5eec8
codec: remove EncodeAsis and optimize access to jsonEncDriver
|
5 years ago |
Ugorji Nwoke
|
8f09091b6c
codec: bytesDecReader: use slice assign instead of generic copy function
|
5 years ago |
Ugorji Nwoke
|
c9665baae2
codec: do not check for bounds in bytesDecReader.
|
5 years ago |
Ugorji Nwoke
|
a2ee74cda4
codec: refactoring to eliminate more bounds-checking
|
5 years ago |
Ugorji Nwoke
|
7a87ebc0e4
codec: decRd: eliminate one unnecessary function call trampoline in IO path
|
5 years ago |
Ugorji Nwoke
|
4751785f62
codec: add bitset32|256.check so we don't double-compare
|
5 years ago |
Ugorji Nwoke
|
fc17d02f6e
codec: remove hasElemSeparators and elemsep flags
|
5 years ago |
Ugorji Nwoke
|
e04c642f55
codec: readn/writen handle up to 7 bytes at a time now
|
5 years ago |
Ugorji Nwoke
|
a2c9bf1666
codec: add readn and writen methods for reading/writing up to 6 bytes at once
|
5 years ago |
Ugorji Nwoke
|
1c309c2bcc
codec: document encWriter and decReader interfaces
|
5 years ago |
Ugorji Nwoke
|
d110c3e273
codec: bytesDecReader doesn't check for io.EOF; caller converts out of range to io.EOF
|
5 years ago |
Ugorji Nwoke
|
9d3a64a20a
codec: support optimized decode of true/false/null in json
|
5 years ago |
Ugorji Nwoke
|
47cabf7243
codec: rename decReaderSwitch to decRd and encWriterSwitch to encWr
|
5 years ago |
Ugorji Nwoke
|
1deb530697
codec: only maintain pools for long-lived objects shared across goroutines
|
5 years ago |
Ugorji Nwoke
|
258d29cb75
codec: refactor json appendStringAsBytes and use pools for all []byte alloc
|
5 years ago |
Ugorji Nwoke
|
97d11b8ecd
codec: nit: refactor - move from decode.go to reader.go
|
5 years ago |
Ugorji Nwoke
|
a052c0a76c
codec: separate reader.go/writer.go from decode.go/encode.go
|
5 years ago |