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

Aggressively implement rule of 5 #1621

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft

Conversation

bbannier
Copy link
Member

@bbannier bbannier commented Dec 19, 2023

This is a follow-up to #1620 where we found that missing move constructors where potentially leaving measurable performance gains on the table. In this patch I aggressively implement rule of 5. While #1620 was a clear win the results for that patches in this PR are less conclusive, and I might even see counterintuitive degraded performance by e.g., 0af5252 (using a huge internal grammar, but also using gcc-9.4.0 and with a lot of noise).

For the time being I am putting this up for reference, but will come back later with possible improvements or new data.

@bbannier bbannier self-assigned this Dec 19, 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.

1 participant