cvsuser     05/01/04 11:04:23

  Modified:    languages/python/t/pie b1.t
  Log:
  Reduce the number of iterations
  
  Revision  Changes    Path
  1.2       +2 -1      parrot/languages/python/t/pie/b1.t
  
  Index: b1.t
  ===================================================================
  RCS file: /cvs/public/parrot/languages/python/t/pie/b1.t,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- b1.t      16 Jul 2004 16:09:11 -0000      1.1
  +++ b1.t      4 Jan 2005 19:04:23 -0000       1.2
  @@ -1,4 +1,4 @@
  -# $Id: b1.t,v 1.1 2004/07/16 16:09:11 leo Exp $
  +# $Id: b1.t,v 1.2 2005/01/04 19:04:23 rubys Exp $
   
   use strict;
   use lib '../../lib';
  @@ -21,6 +21,7 @@
       p = (pea, pea)
       for i in xrange(n):
           p = (p, pea)
  +    if n >= 99: return n, p
       try:
           n, p = depth1(n+1, p)
       except RuntimeError:
  
  
  

Reply via email to