Sin/Cos Lookup Tables

Blitz3D Forums/Blitz3D Programming/Sin/Cos Lookup Tables

The "2" thing is a good example.

In the old days of Z80 I would left shift every time. But nowadays with faster processors I value clearer code and dev time over run time. I stick to x=x*2 in my code. If the compiler catches it and compiles to a left shift then great (Blitz does).