quick poll - precalc sin & cos or perform every frame ?

BlitzPlus Forums/BlitzPlus Programming/quick poll - precalc sin & cos or perform every frame ?

Additionally, just had a play about (trying to figure out why my results were so very different to the other tests), and the speed of the Lookup results appear to be attributable to the sequential method of accessing them in those tests above.

If you provide the Lookup arrays with more realistic out of order random data, they actually perform far more in line with the CPU results.

Since it's highly unlikely any game is actually going to access lookup arrays sequentially, it appears to be quite a bad idea to use them at all under Blitz3D, and in my tests they have a negligable or sometimes negative affect under BlitzPlus too.