commit ef504039f7983861794a1bfed6dfc28d56fdcbe1
Author: Tony Fettes <tonyfettes@tonyfettes.com>
Date:
perf(idna): stream CONTEXTO validation and reuse property lookups
Expose one internal IDNA property lookup with an opaque value, and make
CONTEXTO validation scan Unicode scalars without allocating a character
array. Check required successors on the next iteration, preserve error
precedence, and only query Japanese Script when the label contains U+30FB.
Add adjacency and error-order regressions plus a benchmark for both public
conversions with the IDNA2008 options enabled. Keep the lookup table layout
and public conversion APIs unchanged.
Validated with all-target type checking, 135 native tests (including UTS #46
conformance), and 129 JS tests. Benchmarked against dcd2bc34 on native, JS,
Wasm GC, and Wasm; PR #92 records the measurements and timing limitations.