summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNeil Schemenauer <nas-github@arctrix.com>2022-10-26 05:00:50 (GMT)
committerGitHub <noreply@github.com>2022-10-26 05:00:50 (GMT)
commitde6981680bcf6496e5996a853b2eaa700ed59b2c (patch)
treea83c157e062851f9ea36eb8a11977ecd7e667d38 /Python
parent5d30544485dc56ab999ad7656ef6559306fd013f (diff)
downloadcpython-de6981680bcf6496e5996a853b2eaa700ed59b2c.zip
cpython-de6981680bcf6496e5996a853b2eaa700ed59b2c.tar.gz
cpython-de6981680bcf6496e5996a853b2eaa700ed59b2c.tar.bz2
gh-90716: add _pylong.py module (#96673)
Add Python implementations of certain longobject.c functions. These use asymptotically faster algorithms that can be used for operations on integers with many digits. In those cases, the performance overhead of the Python implementation is not significant since the asymptotic behavior is what dominates runtime. Functions provided by this module should be considered private and not part of any public API. Co-author: Tim Peters <tim.peters@gmail.com> Co-author: Mark Dickinson <dickinsm@gmail.com> Co-author: Bjorn Martinsson
Diffstat (limited to 'Python')
-rw-r--r--Python/stdlib_module_names.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/stdlib_module_names.h b/Python/stdlib_module_names.h
index 12827e7..c31bf1e 100644
--- a/Python/stdlib_module_names.h
+++ b/Python/stdlib_module_names.h
@@ -58,6 +58,7 @@ static const char* _Py_stdlib_module_names[] = {
"_py_abc",
"_pydecimal",
"_pyio",
+"_pylong",
"_queue",
"_random",
"_scproxy",