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

enh: use enum_dispatch #7

Open
rbtcollins opened this issue Jun 23, 2020 · 1 comment
Open

enh: use enum_dispatch #7

rbtcollins opened this issue Jun 23, 2020 · 1 comment

Comments

@rbtcollins
Copy link
Collaborator

enum_dispatch could likely the box'd vtable code in the strategy implementation, leading to perhaps a 6x performance improvement, absent synchronisation issues. https://docs.rs/enum_dispatch/0.3.1/enum_dispatch/

@rbtcollins
Copy link
Collaborator Author

I've tested this, and at least for now, it has no performance benefit. I haven't tracked down why there is no benefit though.

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

No branches or pull requests

1 participant