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

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

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

apocelipes
Copy link
Contributor

This makes scc use less memory.

@boyter boyter merged commit 8e5721c into boyter:master Jul 21, 2024
5 checks passed
@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.

None yet

3 participants