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

Using reserve() for optimization insert in containers #951

Closed
wants to merge 1 commit into from

Conversation

GermanAizek
Copy link
Contributor

I think you will like PR changes, it affects Debug and Release configuration.

@Exzap
Copy link
Member

Exzap commented Aug 30, 2023

Appreciate the effort but most of this falls into the category of unnecessary micro-optimizations. None of your optimizations are on performance critical code paths. In those cases code readability matters more than saving a few microseconds of allocation time.

@Exzap Exzap closed this Aug 30, 2023
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