]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129149: Add fast path in PYLONG_FROM_UINT macro for compact integers (#129168)
authorSrinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) <thatiparthysreenivas@gmail.com>
Thu, 23 Jan 2025 14:36:52 +0000 (20:06 +0530)
committerGitHub <noreply@github.com>
Thu, 23 Jan 2025 14:36:52 +0000 (14:36 +0000)
commitab353b31bb300d55e845476a8e265366455d93fc
tree24495cf4a8e4d9b9b5dfb84874cd6f7acb0d8a75
parent75f59bb62938fc9acac7a4ede19404e889417c6b
gh-129149: Add fast path in PYLONG_FROM_UINT macro for compact integers (#129168)

Add fast path in PyLong_From*() functions for compact integers.

Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Yan Yanchii <yyanchiy@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Misc/NEWS.d/next/Core_and_Builtins/2025-01-22-14-24-44.gh-issue-129149.wAYu43.rst [new file with mode: 0644]
Objects/longobject.c