diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-02 20:22:42 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-02 20:22:42 (GMT) |
commit | 2bc4d95bb67a0bcddec5b76e7f7b5d10b098aa49 (patch) | |
tree | 22819b8136a525a7c919d6d7a91c4de94fc10016 /Doc/whatsnew/3.5.rst | |
parent | d8f0d922d53a8f7bb64c1fda26be386bd2e3d958 (diff) | |
download | cpython-2bc4d95bb67a0bcddec5b76e7f7b5d10b098aa49.zip cpython-2bc4d95bb67a0bcddec5b76e7f7b5d10b098aa49.tar.gz cpython-2bc4d95bb67a0bcddec5b76e7f7b5d10b098aa49.tar.bz2 |
Issue #21233: Revert bytearray(int) optimization using calloc()
Diffstat (limited to 'Doc/whatsnew/3.5.rst')
-rw-r--r-- | Doc/whatsnew/3.5.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index b879ede..5c4e0b5 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -196,9 +196,8 @@ Optimizations The following performance enhancements have been added: -* Construction of ``bytes(int)`` and ``bytearray(int)`` (filled by zero bytes) - is faster and use less memory (until the bytearray buffer is filled with - data) for large objects. ``calloc()`` is used instead of ``malloc()`` to +* Construction of ``bytes(int)`` (filled by zero bytes) is faster and use less + memory for large objects. ``calloc()`` is used instead of ``malloc()`` to allocate memory for these objects. * Some operations on :class:`~ipaddress.IPv4Network` and |