Interleaving the commands is way more realistic, because rarely would people perform a million trig functions, only to THEN draw something.
That might be the case for a novice programmer who doesn't know about aptimization but for professionals there is no way they would do this.....
calc, draw, calc, draw, calc, draw, flip.
It is more efficient to do
calc, calc, calc, draw, draw, draw, flip.
I cannot quote results for Blitz3D athough I am quite surprised to see that you get similar time-test results. I dont know why this is happening.
Also...
Your observation of it being only 9 times faster is due to the fact the array is no longer being read sequentially, as I noted above.
Nothing is being read sequentially. The whole idea of lookup tables is the ability to directly MAP to an element in an array. So I do not buy this at all. I suspect the reason for this slowdown is the RND() function.