logoalt Hacker News

fatih-erikli-cgtoday at 1:35 PM1 replyview on HN

I think it is `atan` function. Sin is almost a lookup query.


Replies

xyzzyztoday at 1:42 PM

On modern machines, looking things up can be slower than recomputing it, when the computation is simple. This is because the memory is much slower than the CPU, which means you can often compute something many times over before the answer from memory arrives.

show 4 replies