[pypy-commit] pypy stm-thread: The next thing to re-optimize: withmethodcache
arigo
noreply at buildbot.pypy.org
Tue Jun 5 09:59:06 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: stm-thread
Changeset: r55307:34f9f1965cf7
Date: 2012-06-04 18:19 +0200
http://bitbucket.org/pypy/pypy/changeset/34f9f1965cf7/
Log: The next thing to re-optimize: withmethodcache
diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py
--- a/pypy/objspace/std/typeobject.py
+++ b/pypy/objspace/std/typeobject.py
@@ -411,7 +411,7 @@
# otherwise, we get all the time spurious transaction conflicts.
# For now we have one per transaction: the following field is
# set when we start a transaction, and cleared just before
- # committing.
+ # committing. XXX lies
cache = space.getexecutioncontext()._methodcache
else:
cache = space.fromcache(MethodCache)
More information about the pypy-commit
mailing list