Sprint 1.1: Add inline annotations to hot paths
Added [@inline] annotations to performance-critical functions:
- binary_arith: Fast paths for Int-Int, Float-Float operations
- binary_bitwise: Fast path for Int-Int bitwise operations
- compare_values: Fast paths for Int-Int, Float-Float comparisons
- Stack operations: push_value, pop_value, peek_value
- Local access: get_local, set_local, get_arg, set_arg
- Type checks: is_undefined, is_null, to_boolean, etc.
- Conversions: to_float, to_int32 with fast paths
Benchmark results (vs baseline):
| Benchmark | Before | After | Change |
|--------------------|-----------|-----------|--------|
| eval/string_ops | 3,518 μs | 704 μs | 5x faster |
| eval/class | 1,780 μs | 1,240 μs | 30% faster |
| eval/function_calls| 6,898 μs | 6,489 μs | 6% faster |
| intensive_primes | 68,150 μs | 63,932 μs | 6% faster |
| eval/math | 2,290 μs | 2,229 μs | 3% faster |
All 176/176 runtime tests still passing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>