codecgen command

codecgen generates static implementations of the encoder and decoder functions for a given type, bypassing reflection, and giving some performance benefits in terms of wall and cpu time, and memory usage.

Benchmarks (as of Dec 2018) show that codecgen gives about

Note that (as of Dec 2018) codecgen completely ignores

In explicit package terms: codecgen generates codec.Selfer implementations for a set of types.

Version
v1.1.6
Published
Jul 2, 2019
Platform
linux/amd64
Imports
18 packages
Last checked
2 hours ago

Tools for package owners.