Skip to content

v0.1.1: faster plain Go path on arm64

Choose a tag to compare

@go-while go-while released this 19 Oct 11:49
· 8 commits to main since this release
  • The plain Go decoder (used on every platform without GOEXPERIMENT=simd, including Apple Silicon) keeps its SWAR constants in registers on non-amd64 architectures instead of rebuilding them in every iteration. On the GitHub macOS arm64 runner, random data decodes at ~2.3 GB/s (v0.1.0: ~1.5 GB/s) and data without escapes at ~5 GB/s. amd64 code is unchanged.
  • CI workflow: vet, tests and yencbench on Linux, macOS (Apple Silicon) and Windows, with and without GOEXPERIMENT=simd on x86-64.

Full changes: v0.1.0...v0.1.1