[pypy-svn] extradoc extradoc: a few new ideas

alex_gaynor commits-noreply at bitbucket.org
Wed Mar 23 06:29:25 CET 2011

Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: extradoc
Changeset: r3390:eb726ff3aa79
Date: 2011-03-23 01:29 -0400

Log:	a few new ideas

diff --git a/planning/jit.txt b/planning/jit.txt
--- a/planning/jit.txt
+++ b/planning/jit.txt
@@ -50,10 +50,13 @@
   re.search("(ab)+", "a" * 1000 + "b") almost doesn't get compiled and
   gets very modest speedups with the JIT on (10-20%)
+- consider an automated way to take a function with a loop and generate a
+  JITable preamble and postamble with a call to the loop in the middle.
-Things we can do mostly by editing optimizeopt.py:
+Things we can do mostly by editing optimizeopt/:
 - getfields which result is never used never get removed (probable cause -
   they used to be as livevars in removed guards). also getfields which result
@@ -77,6 +80,8 @@
   Should be just a matter of synthesizing reverse operations in rewrite.py
+- strlen result is not reused

More information about the Pypy-commit mailing list