Author: Carl Friedrich Bolz <cfb...@gmx.de> Branch: Changeset: r76240:1200b6d0c697 Date: 2015-03-04 15:02 +0100 http://bitbucket.org/pypy/pypy/changeset/1200b6d0c697/
Log: add a comment diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py --- a/rpython/rlib/jit.py +++ b/rpython/rlib/jit.py @@ -14,6 +14,8 @@ def elidable(func): """ Decorate a function as "trace-elidable". Usually this means simply that the function is constant-foldable, i.e. is pure and has no side-effects. + This also has the effect that the inside of the function will never be + traced. In some situations it is ok to use this decorator if the function *has* side effects, as long as these side-effects are idempotent. A typical _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit