Skip to content

Cap container preallocation instead of wrapping - #37

Open
OskarEichler wants to merge 1 commit into
cabo:masterfrom
OskarEichler:codex/preallocation-cap
Open

Cap container preallocation instead of wrapping#37
OskarEichler wants to merge 1 commit into
cabo:masterfrom
OskarEichler:codex/preallocation-cap

Conversation

@OskarEichler

Copy link
Copy Markdown

Uses an actual upper bound for definite container preallocation. Bit-masking made lengths such as 65,536 wrap to zero and produced inconsistent allocation behavior.

Verified with 170 upstream examples plus focused boundary models.

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.

1 participant