Skip to content

Conversation

@JamalK
Copy link

@JamalK JamalK commented Oct 17, 2025

Another take to fix this crasher #118

Description

When using (0..<n).map we are forcing the large allocation to happen in one-shot which caused the crash

Fix

Append to an array that grows its allocation as the input grows.

Testing

Unit test from #118
Validated that all existing tests still pass.

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