Pyrex: step in for loop

Mike Meyer mwm at mired.org
Thu May 26 18:25:56 EDT 2005


"Luis P. Mendes" <luis_lupe2XXX at netvisaoXXX.pt> writes:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> | so it's
> |
> | for i in range(80000, 140000, 10000): ...
> |
> |     <mike
>
> For what I've read, for i in range is slower than the other for
> construct used by Pyrex:
>
> for i from iMin <= i < iMax:
>
> My question had to do with this new expression.  How can I introduce a
> step there.

My bad. I missed the "Pyrex" in the subject line.

   Sorry,
   <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list