Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-46257: Convert statistics._ss() to a single pass algorithm #30403

Merged
merged 40 commits into from Jan 5, 2022

Conversation

rhettinger
Copy link
Contributor

@rhettinger rhettinger commented Jan 4, 2022

rhettinger and others added 30 commits March 15, 2021 21:12
.
Merge branch 'master' of github.com:python/cpython
.
Merge branch 'master' of github.com:python/cpython
.
Merge branch 'master' of github.com:python/cpython
.
Merge branch 'master' of github.com:python/cpython
Merge branch 'main' of github.com:python/cpython into main
Merge branch 'main' of github.com:python/cpython
Copy link
Member

@tim-one tim-one left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't check "the math" (that's impossible to get wrong 😉), but added some minor comments. Certainly approve of the idea.

Lib/statistics.py Outdated Show resolved Hide resolved
Lib/statistics.py Outdated Show resolved Hide resolved
@rhettinger rhettinger merged commit 43aac29 into python:main Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance or resource usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants