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

Request for some minimal examples that show performance benefit #3

Open
Caball009 opened this issue Feb 14, 2022 · 1 comment
Open

Comments

@Caball009
Copy link

Caball009 commented Feb 14, 2022

After having done some experiments to see when these lookup tables may be beneficial for performance, I haven't really found much. What I did find is that if the compiler can inline a function and / or use conditional move instead of conditional jump, chances are it'll be much faster than using a lookup table: https://godbolt.org/z/ndo6jqbWr

I'd like to request some minimal examples where these lookup tables are measurably faster than code without them, if possible.

@j8asic
Copy link
Owner

j8asic commented Oct 30, 2022

Sorry I overlooked this issue. Will add proper example

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

2 participants