[pypy-dev] Slow sqlite user defined functions with pypy.

William ML Leslie william.leslie.ttg at gmail.com
Thu Nov 17 02:24:27 CET 2011


On 17 November 2011 12:23, William ML Leslie
<william.leslie.ttg at gmail.com> wrote:
> On 17 November 2011 12:13, Elefterios Stamatogiannakis <estama at gmail.com> 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

More information about the pypy-dev mailing list