I bought blitzmax and am playing with the windows beta, it's graphically awesome however I have a problem:
looks like max is much slower than plus in calculations !!!
take this code in both max and plus:
a=MilliSecs()
y#=0
For i= 1 To 1000000
y=y+i^0.5
Next
Print y
Print (MilliSecs()-a)
Max finds the answer in 3731 milliseconds
Same thing in Plus takes 190 millisecs!!
However Max is MUCH faster than plus in drawing (about 10 times?) and draws much better (no flickering at all...)
I really need speed for computationally intensive physics simulations, and I would like to compute at least as fast as in blitzplus! (which is actually almost as fast as C, in C it takes about 140 millisecs[believe me or not it took me an hour to write the C program :P])
Some ideas?
looks like max is much slower than plus in calculations !!!
take this code in both max and plus:
a=MilliSecs()
y#=0
For i= 1 To 1000000
y=y+i^0.5
Next
Print y
Print (MilliSecs()-a)
Max finds the answer in 3731 milliseconds
Same thing in Plus takes 190 millisecs!!
However Max is MUCH faster than plus in drawing (about 10 times?) and draws much better (no flickering at all...)
I really need speed for computationally intensive physics simulations, and I would like to compute at least as fast as in blitzplus! (which is actually almost as fast as C, in C it takes about 140 millisecs[believe me or not it took me an hour to write the C program :P])
Some ideas?