Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r80075:112382340157 Date: 2015-10-09 11:24 +0200 http://bitbucket.org/pypy/pypy/changeset/112382340157/
Log: I think it's actually better if we don't put @jit.jit_callback here (see comment) diff --git a/pypy/module/_cffi_backend/ccallback.py b/pypy/module/_cffi_backend/ccallback.py --- a/pypy/module/_cffi_backend/ccallback.py +++ b/pypy/module/_cffi_backend/ccallback.py @@ -200,7 +200,10 @@ extra_line="\nDuring the call to 'onerror', " "another exception occurred:\n\n") -@jit.jit_callback("CFFI") +# XXX fix me: with this line, we get a single compiled version, which +# is good for small examples but gets worse and worse as the number of +# callbacks grows: +# @jit.jit_callback("CFFI") def py_invoke_callback(callback, ll_res, ll_args): extra_line = '' try: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit