3 ms·
Yep. Went and tried the lookup method against a 5 step parallel shift and add method (which is the fastest bitwise way I know of without, and the lookup is ~5%
by monocasa 10y ago
Yep. Went and tried the lookup method against a 5 step parallel shift and add method (which is the fastest bitwise way I know of without, and the lookup is ~5% faster than the bitwise way.
https://gist.github.com/monocasa/1d44a03cbd0170bfffc6a4a5c37b2210 https://gist.github.com/monocasa/1d44a03cbd0170bfffc6a4a5c37...