[pypy-svn] r41203 - in pypy/dist/pypy/doc: . config

mwh at codespeak.net mwh at codespeak.net
Fri Mar 23 18:03:20 CET 2007


Author: mwh
Date: Fri Mar 23 18:03:18 2007
New Revision: 41203

Added:
   pypy/dist/pypy/doc/interpreter-optimizations.txt
      - copied, changed from r41198, pypy/dist/pypy/doc/object-optimizations.txt
Removed:
   pypy/dist/pypy/doc/object-optimizations.txt
Modified:
   pypy/dist/pypy/doc/config/index.txt
   pypy/dist/pypy/doc/config/objspace.std.withfastslice.txt
   pypy/dist/pypy/doc/config/objspace.std.withmethodcache.txt
   pypy/dist/pypy/doc/config/objspace.std.withmultidict.txt
   pypy/dist/pypy/doc/config/objspace.std.withmultilist.txt
   pypy/dist/pypy/doc/config/objspace.std.withrangelist.txt
   pypy/dist/pypy/doc/config/objspace.std.withrope.txt
   pypy/dist/pypy/doc/config/objspace.std.withsharingdict.txt
   pypy/dist/pypy/doc/config/objspace.std.withstrjoin.txt
   pypy/dist/pypy/doc/config/objspace.std.withstrslice.txt
   pypy/dist/pypy/doc/index.txt
   pypy/dist/pypy/doc/objspace-proxies.txt
   pypy/dist/pypy/doc/objspace.txt
Log:
svn mv object-optimizations.txt interpreter-optimizations.txt
and lots of associated changes, but not much in the way of generalizing the
content of the document yet.


Modified: pypy/dist/pypy/doc/config/index.txt
==============================================================================
--- pypy/dist/pypy/doc/config/index.txt	(original)
+++ pypy/dist/pypy/doc/config/index.txt	Fri Mar 23 18:03:18 2007
@@ -34,10 +34,9 @@
 passed in either position.
 
 Many of the more interesting object space options enable optimzations,
-which are described in `Alternative object implementations in the PyPy
-standard interpreter`_, or allow the creation of objects that can
-barely be imagined in CPython, which are documented in `What PyPy can
-do for your objects`_.
+which are described in `Standard Interpreter Optimizations`_, or allow
+the creation of objects that can barely be imagined in CPython, which
+are documented in `What PyPy can do for your objects`_.
 
 The following diagram gives some hints about which PyPy features work together
 with which other PyPy features:
@@ -49,5 +48,5 @@
 .. _`object space options`: commandline.html#overwiew-of-command-line-options-for-objspace
 .. _`translation options`: commandline.html#overwiew-of-command-line-options-for-translation
 .. _`overview`: commandline.html
-.. _`Alternative object implementations in the PyPy standard interpreter`: ../object-optimizations.html
+.. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html
 .. _`What PyPy can do for your objects`: ../objspace-proxies.html

Modified: pypy/dist/pypy/doc/config/objspace.std.withfastslice.txt
==============================================================================
--- pypy/dist/pypy/doc/config/objspace.std.withfastslice.txt	(original)
+++ pypy/dist/pypy/doc/config/objspace.std.withfastslice.txt	Fri Mar 23 18:03:18 2007
@@ -2,6 +2,6 @@
 the list lazily (that is only when the original list or the slice are mutated).
 This is not perfectly well tested.
 
-See the description of `object reimplementations`_ for more details.
+See the description in `Standard Interpreter Optimizations`_ for more details.
 
-.. _`object reimplementations`: ../object-optimizations.html
+.. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html#fast-list-slicing

Modified: pypy/dist/pypy/doc/config/objspace.std.withmethodcache.txt
==============================================================================
--- pypy/dist/pypy/doc/config/objspace.std.withmethodcache.txt	(original)
+++ pypy/dist/pypy/doc/config/objspace.std.withmethodcache.txt	Fri Mar 23 18:03:18 2007
@@ -1,3 +1,2 @@
-Enable method caching. See the section "Method Caching" in `Alternative object
-implementations in the PyPy standard interpreter
-<../object-optimizations.html#method-caching>`__.
+Enable method caching. See the section "Method Caching" in `Standard
+Interpreter Optimizations <../interpreter-optimizations.html#method-caching>`__.

Modified: pypy/dist/pypy/doc/config/objspace.std.withmultidict.txt
==============================================================================
--- pypy/dist/pypy/doc/config/objspace.std.withmultidict.txt	(original)
+++ pypy/dist/pypy/doc/config/objspace.std.withmultidict.txt	Fri Mar 23 18:03:18 2007
@@ -3,6 +3,6 @@
 the normal implementation is not used at all).  The flexibility of multidicts
 is used by a couple of other, even more advanced object implementations.
 
-See the description of `object reimplementations`_ for more details.
+See the description in `Standard Interpreter Optimizations`_ for more details.
 
-.. _`object reimplementations`: ../object-optimizations.html
+.. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html#multi-dicts

Modified: pypy/dist/pypy/doc/config/objspace.std.withmultilist.txt
==============================================================================
--- pypy/dist/pypy/doc/config/objspace.std.withmultilist.txt	(original)
+++ pypy/dist/pypy/doc/config/objspace.std.withmultilist.txt	Fri Mar 23 18:03:18 2007
@@ -2,7 +2,7 @@
 ``list`` type, indistinguishable for the normal user (when using multilists, the
 normal implementation is not used at all).
 
-See the page about `object reimplementations`_ for more details.
+See the section in `Standard Interpreter Optimizations`_ for more details.
 
-.. _`object reimplementations`: ../object-optimizations.html
+.. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html#multi-lists
 

Modified: pypy/dist/pypy/doc/config/objspace.std.withrangelist.txt
==============================================================================
--- pypy/dist/pypy/doc/config/objspace.std.withrangelist.txt	(original)
+++ pypy/dist/pypy/doc/config/objspace.std.withrangelist.txt	Fri Mar 23 18:03:18 2007
@@ -5,7 +5,7 @@
 store the start, stop and step of the range. This makes using ``range`` as
 efficient as ``xrange``, as long as the result is only used in a ``for``-loop.
 
-See the page about `object reimplementations`_ for more details.
+See the section in `Standard Interpreter Optimizations`_ for more details.
 
-.. _`object reimplementations`: ../object-optimizations.html
+.. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html#range-lists
 

Modified: pypy/dist/pypy/doc/config/objspace.std.withrope.txt
==============================================================================
--- pypy/dist/pypy/doc/config/objspace.std.withrope.txt	(original)
+++ pypy/dist/pypy/doc/config/objspace.std.withrope.txt	Fri Mar 23 18:03:18 2007
@@ -1,7 +1,7 @@
 Enable ropes to be the default string implementation.
 
-See the page about `object optimizations`_ for more details.
+See the section in `Standard Interpreter Optimizations`_ for more details.
 
-.. _`object optimizations`: ../object-optimizations.html
+.. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html#ropes
 
 

Modified: pypy/dist/pypy/doc/config/objspace.std.withsharingdict.txt
==============================================================================
--- pypy/dist/pypy/doc/config/objspace.std.withsharingdict.txt	(original)
+++ pypy/dist/pypy/doc/config/objspace.std.withsharingdict.txt	Fri Mar 23 18:03:18 2007
@@ -1,6 +1,6 @@
 Enable "sharing dictionaries".
 
-See the page about `object optimizations`_ for more details.
+See the section in `Standard Interpreter Optimizations`_ for more details.
 
-.. _`object optimizations`: ../object-optimizations.html
+.. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html#sharing-dicts
 

Modified: pypy/dist/pypy/doc/config/objspace.std.withstrjoin.txt
==============================================================================
--- pypy/dist/pypy/doc/config/objspace.std.withstrjoin.txt	(original)
+++ pypy/dist/pypy/doc/config/objspace.std.withstrjoin.txt	Fri Mar 23 18:03:18 2007
@@ -1,7 +1,7 @@
 Enable "string join" objects.
 
-See the page about `object optimizations`_ for more details.
+See the page about `Standard Interpreter Optimizations`_ for more details.
 
-.. _`object optimizations`: ../object-optimizations.html
+.. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html#string-join-objects
 
 

Modified: pypy/dist/pypy/doc/config/objspace.std.withstrslice.txt
==============================================================================
--- pypy/dist/pypy/doc/config/objspace.std.withstrslice.txt	(original)
+++ pypy/dist/pypy/doc/config/objspace.std.withstrslice.txt	Fri Mar 23 18:03:18 2007
@@ -1,7 +1,7 @@
 Enable "string slice" objects.
 
-See the page about `object optimizations`_ for more details.
+See the page about `Standard Interpreter Optimizations`_ for more details.
 
-.. _`object optimizations`: ../object-optimizations.html
+.. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html#string-slice-objects
 
 

Modified: pypy/dist/pypy/doc/index.txt
==============================================================================
--- pypy/dist/pypy/doc/index.txt	(original)
+++ pypy/dist/pypy/doc/index.txt	Fri Mar 23 18:03:18 2007
@@ -98,8 +98,10 @@
 `bytecode interpreter`_ explains the basic mechanisms 
 of the bytecode interpreter and virtual machine. 
 
-`object optimizations`_ describes various alternative object implementations
-(for strings, dictionaries and lists) in the standard object space.
+`interpreter optimizations`_ describes our various strategies for
+improving the performance of our interpreter, including alternative
+object implementations (for strings, dictionaries and lists) in the
+standard object space.
 
 `translation`_ is a detailed overview of our translation process.  The
 rtyper_ is the largest component of our translation process.
@@ -146,7 +148,7 @@
 .. _`PyPy LOC statistics`: http://codespeak.net/~hpk/pypy-stat/
 .. _`PyPy statistics`: http://codespeak.net/pypy/dist/pypy/doc/statistic
 .. _`object spaces`: objspace.html 
-.. _`object optimizations`: object-optimizations.html 
+.. _`interpreter optimizations`: interpreter-optimizations.html 
 .. _`translation`: translation.html 
 .. _`dynamic-language translation`: dynamic-language-translation.html
 .. _`low-level encapsulation`: low-level-encapsulation.html

Modified: pypy/dist/pypy/doc/objspace-proxies.txt
==============================================================================
--- pypy/dist/pypy/doc/objspace-proxies.txt	(original)
+++ pypy/dist/pypy/doc/objspace-proxies.txt	Fri Mar 23 18:03:18 2007
@@ -503,7 +503,7 @@
    >>>> i + 3
    42
 
-.. _`alternative object implementations`: object-optimizations.html
+.. _`alternative object implementations`: interpreter-optimizations.html
 
 
 Example of recording all operations on builtins

Modified: pypy/dist/pypy/doc/objspace.txt
==============================================================================
--- pypy/dist/pypy/doc/objspace.txt	(original)
+++ pypy/dist/pypy/doc/objspace.txt	Fri Mar 23 18:03:18 2007
@@ -332,7 +332,7 @@
 represent small integers as odd-valuated pointers. But it puts extra burden on
 the whole C code, so the CPython team avoided it.  (In our case it is an
 optimization that we eventually made, but not hard-coded at this level -
-see `object optimizations`_.)
+see `Standard Interpreter Optimizations`_.)
 
 So in summary: wrapping integers as instances is the simple path, while
 using plain integers instead is the complex path, not the other way
@@ -389,14 +389,14 @@
 `stringtype.py`_.
 
 For other examples of multiple implementations of the same Python type,
-see the `object optimizations`_ page.
+see `Standard Interpreter Optimizations`_.
 
 .. _`listtype.py`: ../objspace/std/listtype.py
 .. _`stringtype.py`: ../objspace/std/stringtype.py
 .. _`tupletype.py`: ../objspace/std/tupletype.py
 .. _`tupleobject.py`: ../objspace/std/tupleobject.py
 
-.. _`object optimizations`: object-optimizations.html
+.. _`Standard Interpreter Optimizations`: interpreter-optimizations.html
 
 
 Multimethods



More information about the Pypy-commit mailing list