[pypy-dev] cpyext performance

Stefan Behnel stefan_ml at behnel.de
Tue Jul 10 20:01:18 CEST 2012


wlavrijsen at lbl.gov, 10.07.2012 19:38:
> On Tue, 10 Jul 2012, Maciej Fijalkowski wrote:
>> Amaury - not true, we can JIT functions from the start. However, they would
>> still accept wrapped arguments. I can think about a simple way to enable
>> jitting from the start without the need though.
> 
> if the JITted function still requires wrapped arguments

There's no reason it would require wrapped arguments. The input types are
known from the static low-level function type, so the JIT compiler can just
work with them and adapt the function that is being called.

These things are trickier in a non-JIT environment, but we are currently
working on a general framework to support low-level calls through the
CPython ecosystem (I mentioned that before).

Stefan



More information about the pypy-dev mailing list