Page 2 of 2

Posted: Fri Oct 22, 2004 4:42 pm
by GedB
Don't forget you're doing division. Long's are no good for division. The results are probably different for other operations.

Posted: Fri Oct 22, 2004 5:18 pm
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...