Ack. On 17 November 2011 12:23, William ML Leslie <[email protected]> wrote: > On 17 November 2011 12:13, Elefterios Stamatogiannakis <[email protected]> > wrote: >> Pypy seems to not jit at all when a (pypy) Python function is called from C. > > Calls to native functions must be residualised, as there is no way to > tell what state gives rise to the call to the UDF. > > If there was a loop inside the UDF, that would still be compiled. But > the loop that occurs in the query must just call the C function in the > usual way, as the JIT has no idea what it might do.
-- William Leslie _______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
