update go.mod
This release introduces massive performance breakthroughs, completely rewriting the foundational scanning architecture and cementing silentjson as the fastest JSON parser in the Go ecosystem.
🔥 Key Highlights:
- AVX2 Bitmask Iterator (Tape-Scanner): Replaced scalar byte-by-byte loops with
simdjson-style vectorization (VPMOVMSKB+BSFL). Structural characters are now processed in 32-byte chunks, allowing the parser to leap directly to relevant bytes. - Unsafe Key Parsing: Eliminated bounds-checking overhead in key parsing by utilizing direct
unsafe.Pointermemory casting via optimized switch statements. - Extreme Throughput: Single-core parsing (
UnmarshalSlice) now reaches ~747 MB/s. Multi-core parallel parsing (UnmarshalArrayParallel) shatters previous records, scaling perfectly to ~3347 MB/s! - Expanded Test Coverage: Added deep error-handling tests and extensive nested structure validations.
🚀 Benchmarks (100k complex objects): SilentJSON (Parallel): 3347 MB/sSonic: 467 MB/ssimdjson-go: 371 MB/sStandard encoding/json: 107 MB/s