[pypy-svn] r38936 - pypy/dist/pypy/doc/config

pedronis at codespeak.net pedronis at codespeak.net
Thu Feb 15 18:29:10 CET 2007


Author: pedronis
Date: Thu Feb 15 18:29:08 2007
New Revision: 38936

Modified:
   pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal.txt
   pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal_heuristic.txt
   pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal_threshold.txt
Log:
say something about clever malloc removal.



Modified: pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal.txt
==============================================================================
--- pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal.txt	(original)
+++ pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal.txt	Thu Feb 15 18:29:08 2007
@@ -0,0 +1,10 @@
+Try to inline flowgraphs based on whether doing so would enable malloc
+removal (config:`translation.backendopt.mallocs`.) by eliminating
+calls that result in escaping. This is an experimental optimisation,
+also right now some eager inlining is necessary for helpers doing
+malloc itself to be inlined first for this to be effective.
+This option enable also an extra subsequent malloc removal phase.
+
+Callee flowgraphs are considered candidates based on a weight heuristic like
+for basic inlining. (see :config:`translation.backendopt.inline`,
+:config:`translation.backendopt.clever_malloc_removal_threshold` ).

Modified: pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal_heuristic.txt
==============================================================================
--- pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal_heuristic.txt	(original)
+++ pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal_heuristic.txt	Thu Feb 15 18:29:08 2007
@@ -0,0 +1,2 @@
+Internal option. Switch to a different weight heuristic for inlining.
+This is for clever malloc removal (config:`translation.backendopt.clever_malloc_removal`).

Modified: pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal_threshold.txt
==============================================================================
--- pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal_threshold.txt	(original)
+++ pypy/dist/pypy/doc/config/translation.backendopt.clever_malloc_removal_threshold.txt	Thu Feb 15 18:29:08 2007
@@ -0,0 +1,2 @@
+Weight threshold used to decide whether to inline flowgraphs.  
+This is for clever malloc removal (config:`translation.backendopt.clever_malloc_removal`).



More information about the Pypy-commit mailing list