Commit 2b7f216b

2b7f216b1b03Merged

Yukihiro "Matz" Matsumoto <[email protected]> · 7 months ago · 2 files · +1 added · ~1 modified

Description

perf: add fast path to sp_IntArray_set

When index is within bounds, directly assign without checking cap/len growth. Reduces nqueens overhead by ~14%.

GC threshold remains disabled (SIZE_MAX) pending proper GC root management fix for so_lists.

Co-Authored-By: Claude Opus 4.6 (1M context) [email protected]

Details

Commit
2b7f216b1b03
Parent
4f46fd0210a0

.claude/settings.local.jsonaddedView file

1+{
2+ "permissions": {
3+ "allow": [
4+ "Bash(gem list:*)",
5+ "Bash(gem env:*)",
6+ "Bash(find:*)"
7+ ]
8+ }
9+}