[pypy-svn] r16680 - pypy/release/0.7.x/pypy/translator/goal

cfbolz at codespeak.net cfbolz at codespeak.net
Fri Aug 26 20:21:13 CEST 2005


Author: cfbolz
Date: Fri Aug 26 20:21:11 2005
New Revision: 16680

Modified:
   pypy/release/0.7.x/pypy/translator/goal/translate_pypy.py
Log:
rename the option -laptop to -t-lowmem because lots of non-laptop computers
have not enough memory for translation either.


Modified: pypy/release/0.7.x/pypy/translator/goal/translate_pypy.py
==============================================================================
--- pypy/release/0.7.x/pypy/translator/goal/translate_pypy.py	(original)
+++ pypy/release/0.7.x/pypy/translator/goal/translate_pypy.py	Fri Aug 26 20:21:11 2005
@@ -38,8 +38,8 @@
               be either .py or .zip .
    -llinterpret
               interprets the flow graph after rtyping it
-   -laptop    try to save as much memory as possible, since laptops tend to
-              have less than a gigabyte of memory (512 MB is typical).
+   -t-lowmem  try to save as much memory as possible, since many computers
+              tend to have less than a gigabyte of memory (512 MB is typical).
               Currently, we avoid to use geninterplevel, which creates a lot
               of extra blocks, but gains only som 10-20 % of speed, because
               we are still lacking annotation of applevel code.
@@ -107,7 +107,7 @@
 
     policy = AnnotatorPolicy()
     if target:
-        spec = target(not options['-laptop'])
+        spec = target(not options['-t-lowmem'])
         try:
             entry_point, inputtypes, policy = spec
         except ValueError:
@@ -358,7 +358,7 @@
                '-fork': False,
                '-fork2': False,
                '-llinterpret': False,
-               '-laptop': False,
+               '-t-lowmem': False,
                '-batch': False,
                }
     listen_port = None



More information about the Pypy-commit mailing list