On Thu, Feb 3, 2011 at 11:15 AM, Stefan Behnel <stefan_ml@behnel.de> wrote:
Maciej Fijalkowski, 03.02.2011 11:14:
On Thu, Feb 3, 2011 at 11:56 AM, Fredrik Johansson wrote:
On Thu, Feb 3, 2011 at 8:01 AM, Maciej Fijalkowski wrote:
* Use list comprehension instead of generator expression.
I hope PyPy can do more in the future to speed up generator expressions.
It doesn't speed up things by much. Yeah, I can imagine we can improve on this, but it's also a bit hard.
Does PyPy generate inlined looping code for them if applicable?
(e.g. for any(), all(), sum(), sorted(), ...)
Stefan
_______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev
No, it does not (with the exception of map() which has its own JIT, but that code is still not inlined into the caller). Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire) "The people's good is the highest law." -- Cicero