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

feat: make loom crtp #6

Merged
merged 2 commits into from
Jul 23, 2024
Merged

feat: make loom crtp #6

merged 2 commits into from
Jul 23, 2024

Conversation

g-tejas
Copy link
Owner

@g-tejas g-tejas commented Jul 23, 2024

The previous implementation used virtual inheritance for the handle_sock_op and a few other functions, which would incur v-table pointer cost at runtime. Though our current implementation is simple enough for the compiler to optimise this out, we want to be future proof, so CRTP is used for the loom::Loom base class.

@g-tejas g-tejas merged commit ebdba6f into master Jul 23, 2024
4 checks passed
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