Skip to content

simplify pending links in io_str - #1303

Merged
Lorenzobattistela merged 1 commit into
bendlang:mainfrom
toprameen:simplify-io-str-links
Oct 4, 2026
Merged

Lorenzobattistela merged 1 commit into
bendlang:mainfrom
toprameen:simplify-io-str-links

Conversation

@toprameen

Copy link
Copy Markdown
Contributor

io_str now tracks the next writable string link with a pointer, replacing the tail offset sentinel and guarded finalization. The root remains unsealed, tail sealing follows SCon hotness, and UTF-8 decoding and allocation order are unchanged.

Local checks: 12 native macOS fixtures under UBSan/bounds and 13 JS fixtures pass on both versions. Extracted-function comparisons match across 2,426,440 hot/non-hot cases. Generated C differs only in io_str; JS output is unchanged. The repo gate and whitespace check pass, and local runtime benchmarks show no regression.

@toprameen
toprameen marked this pull request as ready for review October 3, 2026 23:59
@Lorenzobattistela Lorenzobattistela self-assigned this Oct 4, 2026
@Lorenzobattistela
Lorenzobattistela self-requested a review October 4, 2026 11:53
@Lorenzobattistela
Lorenzobattistela merged commit 565d7fd into bendlang:main Oct 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants