4 ms·
Interesting article but very in the weeds on it's usecases and I wish the caveats on when it applies were more clearly stated. There are many situations where t
by thot_experiment 3y ago
Interesting article but very in the weeds on it's usecases and I wish the caveats on when it applies were more clearly stated. There are many situations where the computation being done is prohibitively expensive compared to the time horizon required, LUTs are great for that sort of thing. IMO people should use LUTs MORE often.
- dragontamer 3y agoYes use LUTs. But 4-LUT is also called pshufb and you never ever need to touch the relatively slow load/store units. The space of computations you can do with 4-LUT PSHUFB instructions, followed up with simple bit instructions (add, or, not, xor, multiply) is rather insane.
- tgv 3y agoThe space you can cover in a table with n values is much, much larger, even for small values of n (say 100).