t1 = getTimer();
counter = 0;
do
{
counter++;
if (counter > counterMax) { break;}
someValue = int(2147483648);
}while (true);
t2 = getTimer();
tt = t2 - t1;
trace("tt==" + tt);
t1 = getTimer();
counter = 0;
do
{
counter++;
if (counter > counterMax) { break;}
someValue = int.MIN_VALUE;
}while (true);
t2 = getTimer();
tt = t2 - t1;
trace("tt==" + tt);
Tuesday, March 5, 2013
int(2147483648)
int(2147483648) marginally faster than int.minValue in AS3
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment