SpeciaLUT icon indicating copy to clipboard operation
SpeciaLUT copied to clipboard

Request for some minimal examples that show performance benefit

Open Caball009 opened this issue 2 years ago • 1 comments

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.

Caball009 avatar Feb 14 '22 11:02 Caball009