Commits
Click on a commit to change the comparison rangeperf(codegen): reorder match arms based on usage patterns
Reorder Statement and Expression match arms to align with parser
frequency, improving branch prediction performance.
Changes:
- Statement: BlockStatement, ExpressionStatement, VariableDeclaration
and control flow statements moved to top, TS-specific moved to bottom
- Expression: Identifier, member access, calls, and literals moved to
top, JSX and TS assertions moved to bottom
The new order follows the parser's pattern matching sequence, which
reflects real-world JavaScript/TypeScript code frequency.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>