r/cpp • :upvote: • 17m ago

Thoughts on "Cascading down from the widest available Simd width, to the narrowest"?

https://github.com/nihilai-collective/Jsonifier/blob/main/include/jsonifier-incl/utilities/string_cascade.hpp#L577

Just wondering how you guys felt about doing this? It seems to fare reasonably well against simdjson, which only supports a single simd width at a time, as shown in the benchmarks available here:
https://github.com/nihilai-collective/json-performance

1 Upvotes

0 comments sorted by