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

fijal at codespeak.net fijal at codespeak.net
Sun Mar 14 05:01:18 CET 2010


Author: fijal
Date: Sun Mar 14 05:01:17 2010
New Revision: 72220

Modified:
   pypy/extradoc/planning/jit.txt
Log:
done


Modified: pypy/extradoc/planning/jit.txt
==============================================================================
--- pypy/extradoc/planning/jit.txt	(original)
+++ pypy/extradoc/planning/jit.txt	Sun Mar 14 05:01:17 2010
@@ -38,15 +38,6 @@
   This is treated as a megamorphic call (promotion of w_self in typeobject.py)
   while in fact it is not.
 
-- a recurring theme: we allocate an array, fill it with items, allocate new
-  array, copy_items, forget about first one. Would be cool to know that for
-  this case and some other cases, the static refcount can only be 1, so we
-  can optimize away the copy.
-
-  I think enough would be to make jit aware of ll_arraycopy, so it knows
-  a copy of a virtual array yields another virtual array and will optimize
-  everything away on it's own.
-
 - a suggestion - if we call some code via call_assembler that raises an
   exception, in theory we could do something smarter in case our frames
   don't escape and call simplified version that does not allocate all



More information about the Pypy-commit mailing list