Skip to content

Commit

Permalink
Shave off .02 seconds off of partialsums-2.pir
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@11671 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
Joshua Isom committed Feb 19, 2006
1 parent cb2ae56 commit 98d3227
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/shootout/partialsums-2.pir
Expand Up @@ -58,7 +58,7 @@ beginfor:
$N1 = 1.0 / k
sum6 += $N1
neg a
$N1 = a / k
$N1 = a * $N1
sum8 += $N1
$N1 = 2.0 * k
dec $N1
Expand All @@ -68,7 +68,6 @@ lastfor:
$I1 = k - 1
$N1 = pow $N0, $I1
sum1 += $N1
$I1 = k - 1
inc k
if k <= n goto beginfor
dec $I2
Expand Down

0 comments on commit 98d3227

Please sign in to comment.