]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
dict: Use DK_LOG_SIZE in hot loop. (GH-31405)
authorInada Naoki <songofacandy@gmail.com>
Sat, 19 Feb 2022 04:15:20 +0000 (13:15 +0900)
committerGitHub <noreply@github.com>
Sat, 19 Feb 2022 04:15:20 +0000 (13:15 +0900)
commit5543d9c5590c47b7734569d95c3a478f092b525d
tree221d958f5f5282dfb75fec53162f14e54a8f03cf
parent99331fcf175b03b6b82451ac9aa953b476ab48e0
dict: Use DK_LOG_SIZE in hot loop. (GH-31405)

DK_LOG_SIZE(key) < 8 is faster than DK_SIZE(key) <= 0xff, at least on GCC.
Objects/dictobject.c