Author: Maciej Fijalkowski <fij...@gmail.com> Branch: Changeset: r54365:822d774c2560 Date: 2012-04-14 18:23 +0200 http://bitbucket.org/pypy/pypy/changeset/822d774c2560/
Log: speed up jitted lsprof on builtin calls significantly diff --git a/pypy/module/_lsprof/interp_lsprof.py b/pypy/module/_lsprof/interp_lsprof.py --- a/pypy/module/_lsprof/interp_lsprof.py +++ b/pypy/module/_lsprof/interp_lsprof.py @@ -185,6 +185,7 @@ if subentry is not None: subentry._stop(tt, it) +@jit.elidable_promote() def create_spec(space, w_arg): if isinstance(w_arg, Method): w_function = w_arg.w_function _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit