Skip to content

Comments

perf: preallocate the slice if we know its final length#487

Merged
boyter merged 1 commit intoboyter:masterfrom
apocelipes:perf-slices
Jul 21, 2024
Merged

perf: preallocate the slice if we know its final length#487
boyter merged 1 commit intoboyter:masterfrom
apocelipes:perf-slices

Conversation

@apocelipes
Copy link
Contributor

This makes scc use less memory.

@boyter boyter merged commit 8e5721c into boyter:master Jul 21, 2024
@boyter
Copy link
Owner

boyter commented Jul 21, 2024

Thank you!

@apocelipes apocelipes deleted the perf-slices branch July 22, 2024 08:19
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.

3 participants