Author: chromatic Date: Sun Dec 7 12:54:46 2008 New Revision: 33634 Modified: trunk/examples/benchmarks/primes2.pir
Log: [examples] Reverted an accidental change I made to this file in r33325; I decreased the number of iterations for profiling. Thanks to Andreas Koenig for noticing. Modified: trunk/examples/benchmarks/primes2.pir ============================================================================== --- trunk/examples/benchmarks/primes2.pir (original) +++ trunk/examples/benchmarks/primes2.pir Sun Dec 7 12:54:46 2008 @@ -3,7 +3,7 @@ =head1 NAME -examples/benchmarks/primes2.pir - Calculate prime numbers < 10000 +examples/benchmarks/primes2.pir - Calculate prime numbers < 5000 =head1 SYNOPSIS @@ -11,7 +11,7 @@ =head1 DESCRIPTION -Calculates all the prime numbers up to 10000 and prints out the number +Calculates all the prime numbers up to 5000 and prints out the number of primes and the last one found. Use PMCs, not ints. =cut @@ -23,7 +23,7 @@ i = new 'Integer' i = 0 max = new 'Integer' - max = 1000 + max = 5000 i6 = new 'Integer' i6 = 0 i7 = new 'Integer'
