diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2001-02-28 22:10:07 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2001-02-28 22:10:07 (GMT) |
commit | bf140147d8dc82a69e5137162c7bbd79495d8ac3 (patch) | |
tree | 4434b19081b00947233dfebd501a64cad417698c /Doc/whatsnew/whatsnew21.tex | |
parent | ee34ac124a92d98590d2949feaa91c99e228143c (diff) | |
download | cpython-bf140147d8dc82a69e5137162c7bbd79495d8ac3.zip cpython-bf140147d8dc82a69e5137162c7bbd79495d8ac3.tar.gz cpython-bf140147d8dc82a69e5137162c7bbd79495d8ac3.tar.bz2 |
Document the object allocator
Minor sentence change
Diffstat (limited to 'Doc/whatsnew/whatsnew21.tex')
-rw-r--r-- | Doc/whatsnew/whatsnew21.tex | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Doc/whatsnew/whatsnew21.tex b/Doc/whatsnew/whatsnew21.tex index 878838f..9127ffe 100644 --- a/Doc/whatsnew/whatsnew21.tex +++ b/Doc/whatsnew/whatsnew21.tex @@ -231,8 +231,8 @@ return any Python object. There are also corresponding changes of interest to C programmers; there's a new slot \code{tp_richcmp} in type objects and an API for performing a given rich comparison. I won't cover the C API here, but -will refer you to PEP 207, or the documentation for Python's C API, -for the full list of related functions. +will refer you to PEP 207, or to 2.1's C API documentation, for the +full list of related functions. \begin{seealso} @@ -605,6 +605,16 @@ be underestimates. Some of the more notable changes are: \begin{itemize} + +\item A specialized object allocator is now optionally available, that +should be faster than the system \function{malloc()} and have less +memory overhead. The allocator uses C's \function{malloc()} function +to get large pools of memory, and then fulfills smaller memory +requests from these pools. It can be enabled by providing the +"--with-pymalloc" option to the \filename{configure} script; see +\filename{Objects/obmalloc.c} for the implementation details. +Contributed by Vladimir Marangozov. + \item The speed of line-oriented file I/O has been improved because people often complain about its lack of speed, and because it's often been used as a na\"ive benchmark. The \method{readline()} method of |