Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: optimize fn_append_internal #43

Merged
merged 2 commits into from
Jun 24, 2024
Merged

fix: optimize fn_append_internal #43

merged 2 commits into from
Jun 24, 2024

Conversation

aesterline
Copy link
Member

fn_append_internal passed in a mutable array as the first argument, but then it was creating another array and coping in all the data instead of mutating the mutable array. We now mutate the array that way we don't have to copy the array.

`fn_append_internal` passed in a mutable array as the first argument,
but then it was creating another array and coping in all the data
instead of mutating the mutable array. We now mutate the array that way
we don't have to copy the array.
@aesterline aesterline enabled auto-merge (squash) June 24, 2024 13:17
@aesterline aesterline merged commit 8ca65d0 into main Jun 24, 2024
5 checks passed
@aesterline aesterline deleted the optimize-array-usage branch June 24, 2024 13:18
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