Needless copying in iterations?

Marc 'BlackJack' Rintsch bj_666 at
Sun Sep 16 12:58:07 CEST 2007

On Sun, 16 Sep 2007 09:50:39 +0000, Steven D'Aprano wrote:

> The point is rather moot, since CPython (and probably other Pythons) do 
> almost no optimizations. But just because Python is a dynamic language 
> doesn't mean there are no optimizations possible: Haskell is a dynamic 
> language, and there are optimizing compilers for it. Of course, it is 
> much simpler for Haskell, because of the type system it uses.

What do you mean by Haskell is a dynamic language?  It is statically and
strict typed and the compiler usually knows all the functions.  No
"surprises", no side effects, no duck typing.

	Marc 'BlackJack' Rintsch

More information about the Python-list mailing list