[HN Gopher] The 185-Microsecond Type Hint
___________________________________________________________________
The 185-Microsecond Type Hint
Author : kianN
Score : 11 points
Date : 2026-03-02 22:04 UTC (55 minutes ago)
(HTM) web link (blog.sturdystatistics.com)
(TXT) w3m dump (blog.sturdystatistics.com)
| EdNutting wrote:
| Wild speculation: Could the extra speedup be due to some kind of
| JIT hotpath optimisation that the previous reflective non-
| inlinable call prevented, and which the new use of the single
| `arrayLength` bytecode enabled? E.g. in production maybe you're
| seeing the hotpath hit a JIT threshold for more aggressive
| inlinng of the parent function, or loop unrolling, or similar,
| which might not be triggered in your test environment (and which
| is impossible when inlining is prevented)?
___________________________________________________________________
(page generated 2026-03-02 23:00 UTC)