leepro / unladen-swallow

Automatically exported from code.google.com/p/unladen-swallow
Other
0 stars 0 forks source link

Extra PyCodeObject flags prevent fast path from being taken #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Several extra flags where added into code.co_flags to expose extra
information to fbuilder (code.h:89).

For some functions there is a fast path in eval.cc:4365 which tests these
flags.
Unfortunately this test is not aware of the new flags and bails on function
which could be fastcalled. This may affect performance of not-jitted code
negatively.

Original issue reported on code.google.com by joerg...@gmail.com on 9 Jan 2010 at 3:26

GoogleCodeExporter commented 8 years ago

Original comment by collinw on 11 Jan 2010 at 10:30

GoogleCodeExporter commented 8 years ago
Reid sent out a patch for review.

Original comment by collinw on 28 Jan 2010 at 9:51

GoogleCodeExporter commented 8 years ago
Fixed in r1055.

Original comment by reid.kle...@gmail.com on 30 Jan 2010 at 11:25