generator expressions: performance anomaly?
Paul Rubin
http
Tue Jan 18 22:12:13 EST 2005
Steve Holden <steve at holdenweb.com> writes:
> You probably already know that sensible compiled language systems have
> used constant folding since time immemorial, but Python has always
> eschewed it. That's what comes of being a pragmatist's language: if
> such optimizations really are required the programmer is expected to
> perform them.
You mean the lack is deliberate? I just figured it was an artifact of
the implementation and that PyPy had some reasonable chance of fixing it.
More information about the Python-list
mailing list