DevTrends开发者趋势
主题色

trevorah /

simdown

The SIMD path currently needs arm64 (NEON) and GOEXPERIMENT=simd. I've only benchmarked on an Apple M4, but it should help on any arm64 chip (Graviton, Ampere, etc.). Elsewhere it falls back to a scalar path that do…

DT研究与学习

关于

The SIMD path currently needs arm64 (NEON) and GOEXPERIMENT=simd. I've only benchmarked on an Apple M4, but it should help on any arm64 chip (Graviton, Ampere, etc.). Elsewhere it falls back to a scalar path that does ~300 MB/s, still ahead of cmark and goldmark. If you know of a faster CommonMark parser, please tell me and I'll add it to the benchmarks. Under the hood, it borrows a lot from this paper on using simd for json parsing: https://arxiv.org/abs/1902.08318

收录记录

  1. Show HN

    2026年10月26日 · 1 次收录

讨论这个产品