Re:Random Acts of Optimization
by josephg on Thursday October 29, 2015 @05:35PM
(#10474509)
Why scan the table of precomputed values? It seems like the code would be both cleaner and faster like this:
Then:
I guess there's a bit of float -> int coercion going on there, but it shouldn't be too bad.
[ Parent
| on HN ]