From: A.M. K. <aku...@us...> - 2001-02-28 22:08:47
|
Update of /cvsroot/py-howto/pyhowto In directory usw-pr-cvs1:/tmp/cvs-serv32185 Modified Files: python-21.tex Log Message: Document the object allocator Minor sentence change Index: python-21.tex =================================================================== RCS file: /cvsroot/py-howto/pyhowto/python-21.tex,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** python-21.tex 2001/02/14 02:44:18 1.12 --- python-21.tex 2001/02/28 22:10:07 1.13 *************** *** 232,237 **** 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. \begin{seealso} --- 232,237 ---- 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 to 2.1's C API documentation, for the ! full list of related functions. \begin{seealso} *************** *** 605,608 **** --- 605,618 ---- \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 |