Hi all, I am JIT-generating functions in my code and call them by first ffi.cast'ing them to a function pointer.
In my microbenchmarks its has pretty much the same call performance as when using cffi ABI mode (dumping the functions to a shared library first) and is around 250ns per call slower than when using API mode. I haven't looked at the generating assembly yet, but I guess pypy has to be more careful, since not all information from API mode is available. So the question is: is there any way to provide the missing information, since I basically know everything about the function behind the pointer that a compile would know? Cheers, Dimitri.
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev