Got a new optimization :) the variable 'Iterationen' is causing the huge time increase. Seems that in BMax or let's better say MingW, the values are not clamped. I introduced a new variable as j:byte and in the loop added a j=i. Now I have a speed increase to 9 seconds. Having a sin(xx millions) is not very realistic ;) oh and sin() is slower than cos().
little Benchmark
BlitzMax Forums/BlitzMax Programming/little BenchmarkThe 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.