https://lemire.me/blog/2019/08/02/json-parsing-simdjson-vs-json-for-modern-c/Thus, roughly speaking, simdjson can parse, validate a JSON document and create a DOM tree, at a speed of about 2 GB/s. The easier-to-use “JSON for Modern C++” has a speed of about 0.1 GB/s, so about 20x slower. As a reference, we can easily read files from disk or the network at speeds higher than 2 GB/s.
速度差20倍,估计进不了标准库
【 在 lwp 的大作中提到: 】
: 这么好的东西
--
FROM 124.114.151.*