[pypy-svn] r80210 - pypy/extradoc/planning

hakanardo at codespeak.net hakanardo at codespeak.net
Sat Jan 15 10:06:37 CET 2011


Author: hakanardo
Date: Sat Jan 15 10:06:34 2011
New Revision: 80210

Modified:
   pypy/extradoc/planning/jit.txt
Log:
Bug fixed but that case is still not optimized very well

Modified: pypy/extradoc/planning/jit.txt
==============================================================================
--- pypy/extradoc/planning/jit.txt	(original)
+++ pypy/extradoc/planning/jit.txt	Sat Jan 15 10:06:34 2011
@@ -140,8 +140,12 @@
     probably a better idea to have the mini bridges jump to the preamble
     of the first generated version.
 
- -  Fix bug causing test_mod in test_pypy_c.py to trace the loop every 
-    second iteration
+ -  Replace the list of short preambles with a tree, similar to the
+    tree formed by the full preamble and it's bridges. This should
+    enable specialisaton of loops in more complicated situations, e.g.
+    test_dont_trace_every_iteration in test_basic.py. Currently the
+    second case there become a badly optimized bridge from the
+    preamble to the preamble.
 
  -  To remove more of the short preamble a lot more of the optimizer
     state would have to be saved and inherited by the bridges. However



More information about the Pypy-commit mailing list