Strange performance artifacts
Andreas Raab
raab at isgnw.CS.Uni-Magdeburg.De
Sat Aug 15 18:57:42 UTC 1998
> The run times were ~260 for the version including the assignment, 600 without it,
> (and ~350 with the traditional code I was using before).
>
> Any other ideas?
How about converting:
firstPoint transformBy: rotationPoint
into:
firstPoint _ firstPoint asFloatPoint.
Time millisecondsToRun: [1 to: 1000 do: [:i |
ignored _ firstPoint transformBy: rotationPoint]].
If your rotationPoint contains floats this should boost it up.
Andreas
--
Linear algebra is your friend - Trigonometry is your enemy.
+===== Andreas Raab ============= (raab at isg.cs.uni-magdeburg.de) =====+
I Department of Simulation and Graphics Phone: +49 391 671 8065 I
I University of Magdeburg, Germany Fax: +49 391 671 1164 I
+=============< http://isgwww.cs.uni-magdeburg.de/~raab >=============+
More information about the Squeak-dev
mailing list
|