diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-04-24 22:33:26 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-04-24 22:33:26 +0200 |
commit | 8153ac8f00efb5efb486805234887d49b22755ac (patch) | |
tree | 10e442132c96447363e946d30d24dc1327964ebb | |
parent | e437a10d15ddfd21d406e591acccf12ff443194e (diff) | |
download | cpython-git-8153ac8f00efb5efb486805234887d49b22755ac.tar.gz |
Issue #26249: Mention PyMem_Malloc() change in What's New in Python 3.6 in the
Optimizations section.
-rw-r--r-- | Doc/whatsnew/3.6.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 87854c8a9b..99223af31d 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -388,6 +388,13 @@ Optimizations * Optimize ``bytes.replace(b'', b'.')`` and ``bytearray.replace(b'', b'.')``: up to 80% faster. (Contributed by Josh Snider in :issue:`26574`). +* Allocator functions of the :c:func:`PyMem_Malloc` domain + (:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc memory allocator + <pymalloc>` instead of :c:func:`malloc` function of the C library. The + pymalloc allocator is optimized for objects smaller or equal to 512 bytes + with a short lifetime, and use :c:func:`malloc` for larger memory blocks. + (Contributed by Victor Stinner in :issue:`26249`). + Build and C API Changes ======================= |