1.1.14
This is a production release of go-codec.
Today marks 1 full year after the 11th day of the 11th month of last year,
a very very special day in my life.
On this very special day, we release the latest patch release of v1.1 and it
matches with the first release of v1.2 of go-codec.
This release should be about 10% faster during decode than previous releases.
Beyond performance, the focus was on cleaning up the codebase while maintaining support
for much earlier releases of go, and supporting gccgo.
Changes
- support gccgo
- improve performance in looking up fast-path functions or cached struct information
- optimize json's encoding and decoding of numbers (integers and floats) and strings
- optimize base reading primitive functions, to reduce pointer-chasing
- optimize map iteration and lookup
See benchmark results run on a very complicated struct full of embedded types, with multiple nested levels.
Each struct value encodes as 47K of tightly packed json or 37K of binary msgpack or cbor.
The main goal has always been to provide the most feature-rich and performant package
for encoding and decoding of multiple popular binary and text formats in a consistent way.
We believe we continue to achieve that!