Mercurial > cpython-lru_cache-weakref
comparison Python/thread_nt.h @ 45143:8fdd6d62ea55 legacy-trunk
Patch #1953
I implemented the function sys._compact_freelists() and C API functions PyInt_/PyFloat_CompactFreeList() to compact the pre-allocated blocks of ints and floats. They allow the user to reduce the memory usage of a Python process that deals with lots of numbers.
The patch also renames sys._cleartypecache to sys._clear_type_cache
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Mon, 04 Feb 2008 18:00:12 +0000 |
| parents | 1c1705bf36b8 |
| children | e38335d4df91 fdcca8793eb9 |
comparison
equal
deleted
inserted
replaced
| 45142:f03955faffb4 | 45143:8fdd6d62ea55 |
|---|
