|
From: Csaba H. <csa...@cr...> - 2007-04-17 22:15:33
|
On 2007-04-17, Slava Pestov <sl...@fa...> wrote: > Python's generators are not full continuations, I know... > in fact I believe > they're rewritten to an iterator as a compile-time transform, so the > resulting bytecode does not look like the original code at all. This > explains why Python is so much faster than the others on this benchmark. Hm, when you do something more essentially "generatorish", like stepping two generators simultaneoisly, that's still faster than the others... I wonder how that could be transformed to an iteration... > Once Factor's continuations are compiled, performance will improve here. Will that happen? If yes: When? What is to be done for that? Csaba |