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

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

"Those who say that it doesnt matter in a real world example just don't know what they are talking about OR they are just arguing for the sake of arguing without producing any evidense."


...or might simply find that utilising such a table just isn't worth the effort in their particular piece of software.

Use them if it's going to make a worthwhile difference to your particular piece of software. Seems reasonable enough.

As for the poor soul who opened this pandora's box of a thread, I can't see look-up tables making a vastly huge impact. It will depend on what you are doing with these four sprites. And backgrounds. And whatever else. Yes, it may be that using look-up tables gives you a gajillionty-hundredty frames per second, rather than only a billionty-twillionty. Of course, the end-user's monitor may only display 100 of them.

So there isn't a yes-or-no answer, really. All you can do is suck it 'n' see.