Skip to content

Comments

Potential Memory Optimization in parseErrorsToHashes()#24

Open
pranavkonde wants to merge 1 commit intoakave-ai:mainfrom
pranavkonde:patch-3
Open

Potential Memory Optimization in parseErrorsToHashes()#24
pranavkonde wants to merge 1 commit intoakave-ai:mainfrom
pranavkonde:patch-3

Conversation

@pranavkonde
Copy link
Contributor

Since we know the exact size needed for the slice, we should pre-allocate it to avoid unnecessary slice growth operations.

Since we know the exact size needed for the slice, we should pre-allocate it to avoid unnecessary slice growth operations.
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