develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r33634 - trunk/examples/benchmarks

From:
chromatic
Date:
December 7, 2008 12:54
Subject:
[svn:parrot] r33634 - trunk/examples/benchmarks
Message ID:
20081207205447.15CDDCB9AF@x12.develooper.com
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'



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About