[pypy-commit] pypy reflex-support: Comment about a potentially much better solution.
arigo
noreply at buildbot.pypy.org
Thu Jul 7 10:47:28 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch: reflex-support
Changeset: r45400:8c156dc9d400
Date: 2011-07-07 10:55 +0200
http://bitbucket.org/pypy/pypy/changeset/8c156dc9d400/
Log: Comment about a potentially much better solution.
diff --git a/pypy/module/cppyy/converter.py b/pypy/module/cppyy/converter.py
--- a/pypy/module/cppyy/converter.py
+++ b/pypy/module/cppyy/converter.py
@@ -351,7 +351,9 @@
self.cpptype = cpptype
# TODO: factor out the direct_ptradd into a smaller function (so that the
- # JIT can look into the rest of the code)
+ # JIT can look into the rest of the code), or better, let the JIT
+ # see it (either by teaching it direct_ptradd, or by using a
+ # different style like casts between addresses and integers)
@jit.dont_look_inside
def convert_argument(self, space, w_obj):
from pypy.module.cppyy.interp_cppyy import W_CPPInstance
More information about the pypy-commit
mailing list