

pan narrans
Study + Hard Work + Loud Profanity = Good Code
quote:Well, you can always configure it to not cache the lookup table.
Original post by siaspete
The big problem with a lookup table is that it can cause a lot of processor data cache misses. For very expensive operations like sqrt this can still be a better choice, but sometimes making a LUT for something just because it''s possible can actually be a slowdown.