]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35719: Optimize multi-argument math functions. (GH-11527)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 12 Jan 2019 06:26:34 +0000 (08:26 +0200)
committerGitHub <noreply@github.com>
Sat, 12 Jan 2019 06:26:34 +0000 (08:26 +0200)
commitd0d3e99120b19a4b800f0f381b2807c93aeecf0e
tree03934060f807cf8027fe8542dc1ca003ce27879d
parent793426687509be24a42663a27e568cc92dcc07f6
bpo-35719: Optimize multi-argument math functions. (GH-11527)

Use the fast call convention for math functions atan2(),
copysign(), hypot() and remainder() and inline unpacking
arguments. This sped up them by 1.3--2.5 times.
Misc/NEWS.d/next/Library/2019-01-11-20-21-59.bpo-35719.qyRcpE.rst [new file with mode: 0644]
Modules/mathmodule.c