]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-129149: Add fast path for medium-sized integers in `PyLong_From*` functions (...
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>
Sun, 30 Mar 2025 08:12:42 +0000 (10:12 +0200)
committerGitHub <noreply@github.com>
Sun, 30 Mar 2025 08:12:42 +0000 (10:12 +0200)
commita175d64e30b0ff9f011aea2da6d6e21ccfdcd893
treea553f8115b88463a138ea4a261248a93f34a00b9
parent425f60b9eb253c57bc32b453a02f1cf09963f85a
GH-129149: Add fast path for medium-sized integers in `PyLong_From*` functions (#131211)

Add a fast path for medium-sized integers in `PyLong_FromInt{32,64}` and `PyLong_FromUInt{32,64}`.
Misc/NEWS.d/next/Core_and_Builtins/2025-03-13-20-23-02.gh-issue-129149.z42wkm.rst [new file with mode: 0644]
Objects/longobject.c