[GAP Forum] Range of List Iteration

Frank Lübeck frank.luebeck at math.rwth-aachen.de
Wed May 5 14:31:55 BST 2010


On Wed, May 05, 2010 at 11:39:10AM +0200, Frank Lübeck wrote:
>   i := 1;
>   while i < 2^28-1 do
>   od;
>     
>     needs about 40 seconds on my computer compared to 

Of course, I have done the test with:

   i := 1;
   while i < 2^28-1 do
     i := i+1;
   od;

Thanks to all who pointed this out to me.

Frank
-- 
///  Dr. Frank Lübeck, Lehrstuhl D für Mathematik, Templergraben 64,  ///
\\\                    52062 Aachen, Germany                          \\\
///  E-mail: Frank.Luebeck at Math.RWTH-Aachen.De                        ///
\\\  WWW:    http://www.math.rwth-aachen.de/~Frank.Luebeck/           \\\




More information about the Forum mailing list