Compare performances Blitz - PureBasic and C++

Everything else that doesn't fall into one of the other PB categories.
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

Post by GedB »

Don't forget you're doing division. Long's are no good for division. The results are probably different for other operations.
Thomas
Enthusiast
Enthusiast
Posts: 112
Joined: Sat Apr 26, 2003 8:45 pm

Post by Thomas »

Try dividing by a power of 2 (e.g. y+y/4). Integer is faster there (just doing shifts I suppose). Doing multiplication both are almost head to head.

Gone are the times when optimizing was easy...
Post Reply