diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-07-06 03:35:58 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-07-06 03:35:58 (GMT) |
commit | 2fe77060eb2b322da925b50ffe3c471258736cee (patch) | |
tree | 0966f7b98ec52c58f6c58cf42ec75237c72dda0b /Doc/library/sys.rst | |
parent | 17f2e4acb963268fe8b3c4e822f33d9372460607 (diff) | |
download | cpython-2fe77060eb2b322da925b50ffe3c471258736cee.zip cpython-2fe77060eb2b322da925b50ffe3c471258736cee.tar.gz cpython-2fe77060eb2b322da925b50ffe3c471258736cee.tar.bz2 |
- Issue #2862: Make int and float freelist management consistent with other
freelists. Changes their CompactFreeList apis into ClearFreeList apis and
calls them via gc.collect().
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 2e39633..22397f2 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -58,22 +58,6 @@ always available. A string containing the copyright pertaining to the Python interpreter. -.. function:: _compact_freelists() - - Compact the free lists of integers and floats by deallocating unused blocks. - It can reduce the memory usage of the Python process several tenth of - thousands of integers or floats have been allocated at once. - - The return value is a tuple of tuples each containing three elements, - amount of used objects, total block count before the blocks are deallocated - and amount of freed blocks. The first tuple refers to ints, the second to - floats. - - This function should be used for specialized purposes only. - - .. versionadded:: 2.6 - - .. function:: _clear_type_cache() Clear the internal type cache. The type cache is used to speed up attribute |