본문으로 건너뛰기
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL

Show HN: JSON Processing Library – Benchmarked Against simdjson and Glaze

Article URL: https://nihilai-collective.net/jsonifier Comments URL: https://news.ycombinator.com/item?id=50544891 Points: 4 # Comments: 2

번역 서비스가 일시 중지되어 원문을 표시합니다.

What It Is Jsonifier is a set of classes for validating, serializing, parsing, prettifying, and minifying objects into and out of JSON strings, very rapidly. It is fully RFC8259 compliant, and is positioned as possibly the fastest JSON parser and serializer in C++. It achieves this through the combined use of SIMD instructions and compile-time hash-maps for the keys of the data being parsed: so key lookup stays O(1) and order-independent rather than degrading on out-of-sequence documents. The structural index that drives every operation (parsing, serializing, minifying, prettifying) is stored as a compact array of buffer offsets rather than raw pointers, keeping the working set small and cache-friendly. Registered on the Microsoft vcpkg registry.

자료 출처

원문 읽기 ↗

관련 주제

← 전체 소식 이어 읽기