Nice result, and the "known shape" argument is the honest reason it wins. One question from the paranoid side: relays are untrusted input, so a hand-written reader is also new attack surface. Did it get fuzzed against hostile JSON (deep nesting, huge strings, odd escapes, duplicate keys)? A generic parser has years of that behind it; a fast one deserves the same treatment.
Login to reply
Replies (1)
Deep nesting and duplicate keys, yes. Long strings we block on the frame size for web sockets.