René's URL Explorer Experiment


Title: bpo-46257: Convert statistics._ss() to a single pass algorithm by rhettinger · Pull Request #30403 · python/cpython · GitHub

Open Graph Title: bpo-46257: Convert statistics._ss() to a single pass algorithm by rhettinger · Pull Request #30403 · python/cpython

X Title: bpo-46257: Convert statistics._ss() to a single pass algorithm by rhettinger · Pull Request #30403 · python/cpython

Description: https://bugs.python.org/issue46257

Open Graph Description: https://bugs.python.org/issue46257

X Description: https://bugs.python.org/issue46257

Opengraph URL: https://github.com/python/cpython/pull/30403

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c23c5308-5e0c-70c0-ef70-8246b51d2adf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8792:310724:8AAE7:B1718:696AD1D4
html-safe-nonced5dceaab785407ddda0c710139be9d8ca72f3b8dc6e649389788d8f2ae42a81b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzkyOjMxMDcyNDo4QUFFNzpCMTcxODo2OTZBRDFENCIsInZpc2l0b3JfaWQiOiIxNDk4Mjk2NzUzMTEyOTI4NzI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0acb3f82b0d437b5b31fae4ca2158bdf60e86159b556757297411116b57a75f7
hovercard-subject-tagpull_request:814056714
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/30403/files
twitter:imagehttps://avatars.githubusercontent.com/u/1623689?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1623689?s=400&v=4
og:image:althttps://bugs.python.org/issue46257
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec718a376fcf780eb22089171adb84a543f660bf7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/30403/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30403%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30403%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/30403/files
Reloadhttps://github.com/python/cpython/pull/30403/files
Reloadhttps://github.com/python/cpython/pull/30403/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/30403/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/30403/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
rhettingerhttps://github.com/rhettinger
python:mainhttps://github.com/python/cpython/tree/main
rhettinger:statistics_fast_sshttps://github.com/rhettinger/cpython/tree/statistics_fast_ss
Conversation 5 https://github.com/python/cpython/pull/30403
Commits 40 https://github.com/python/cpython/pull/30403/commits
Checks 0 https://github.com/python/cpython/pull/30403/checks
Files changed https://github.com/python/cpython/pull/30403/files
Please reload this pagehttps://github.com/python/cpython/pull/30403/files
bpo-46257: Convert statistics._ss() to a single pass algorithm https://github.com/python/cpython/pull/30403/files#top
Show all changes 40 commits https://github.com/python/cpython/pull/30403/files
bbd2da9 Merge pull request #1 from python/master rhettinger Mar 16, 2021 https://github.com/python/cpython/pull/30403/commits/bbd2da91b0a5815a017f1984555da57ce11e61e3
74bdf1b Merge branch 'master' of github.com:python/cpython rhettinger Mar 22, 2021 https://github.com/python/cpython/pull/30403/commits/74bdf1b2068646206b73b5408725cd0921d0ccfe
6c53f1a Merge branch 'master' of github.com:python/cpython rhettinger Mar 22, 2021 https://github.com/python/cpython/pull/30403/commits/6c53f1a86ff036be3ad34f4fcf4965b005be8aff
a487c4f . rhettinger Mar 24, 2021 https://github.com/python/cpython/pull/30403/commits/a487c4fb9e14a6643676f3dd20a073835f4a011b
eb56423 . rhettinger Mar 25, 2021 https://github.com/python/cpython/pull/30403/commits/eb56423031b0e7f8d292e264b68500a4a37f41e5
cc7ba06 . rhettinger Mar 26, 2021 https://github.com/python/cpython/pull/30403/commits/cc7ba06c30e26c692338ff3616e4495c40d8f4e9
d024dd0 . rhettinger Apr 22, 2021 https://github.com/python/cpython/pull/30403/commits/d024dd07c24ec8fc2e6db742a0e502b65bec4d36
b10f912 merge rhettinger May 5, 2021 https://github.com/python/cpython/pull/30403/commits/b10f9126766f69e2b3e8ffc13e8b4c381a07b311
fb6744d merge rhettinger May 6, 2021 https://github.com/python/cpython/pull/30403/commits/fb6744d95763aa62143e6e7bd03afde00f1c166f
7f21a1c Merge branch 'main' of github.com:python/cpython rhettinger Aug 15, 2021 https://github.com/python/cpython/pull/30403/commits/7f21a1c9dc8715917b2c8db1ce7a47732f2a22d7
7da42d4 Merge branch 'main' of github.com:rhettinger/cpython rhettinger Aug 25, 2021 https://github.com/python/cpython/pull/30403/commits/7da42d41cad4c5ef8e50c5107561a17c0b0c501b
e31757b Merge branch 'main' of github.com:python/cpython rhettinger Aug 31, 2021 https://github.com/python/cpython/pull/30403/commits/e31757be213071cc25e6ab43c0d381a572b03b0e
f058a6f Merge branch 'main' of github.com:python/cpython rhettinger Aug 31, 2021 https://github.com/python/cpython/pull/30403/commits/f058a6fd7a3951a9e1efb9922c036d65324755eb
1fc29bd Merge branch 'main' of github.com:python/cpython rhettinger Sep 4, 2021 https://github.com/python/cpython/pull/30403/commits/1fc29bdc33112ab37025b1c6a60fbb84cdc59a7b
e5c0184 Merge branch 'main' of github.com:python/cpython rhettinger Oct 30, 2021 https://github.com/python/cpython/pull/30403/commits/e5c018472261214b4131eaa688750cc88a5f8e6e
3c86ec1 Merge branch 'main' of github.com:python/cpython rhettinger Nov 9, 2021 https://github.com/python/cpython/pull/30403/commits/3c86ec1e1a64c5cd547e2204aeaab6e63edbf461
96675e4 Merge branch 'main' of github.com:rhettinger/cpython rhettinger Nov 9, 2021 https://github.com/python/cpython/pull/30403/commits/96675e4acb2d20fe0cd9e527c982de00f9e34830
de558c6 Merge branch 'main' of github.com:python/cpython rhettinger Nov 9, 2021 https://github.com/python/cpython/pull/30403/commits/de558c6ace036b4b0891dfdb0bdfebc386746e95
418a07f Merge branch 'main' of github.com:python/cpython rhettinger Nov 14, 2021 https://github.com/python/cpython/pull/30403/commits/418a07fab4a9c46491fcae931394fce426471580
ea23a8b Merge branch 'main' of github.com:python/cpython rhettinger Nov 21, 2021 https://github.com/python/cpython/pull/30403/commits/ea23a8b2439288e96ef8d68e98c87d44a56bf37a
ba248b7 Merge branch 'main' of github.com:python/cpython rhettinger Nov 27, 2021 https://github.com/python/cpython/pull/30403/commits/ba248b7b77ceae5e2dac9f4d2d44f2c27ececaee
9bc1df1 Merge branch 'main' of github.com:python/cpython rhettinger Dec 1, 2021 https://github.com/python/cpython/pull/30403/commits/9bc1df168dfa1b001097e3d31f9d137a582f8d0e
d4466ba Merge branch 'main' of github.com:python/cpython rhettinger Dec 1, 2021 https://github.com/python/cpython/pull/30403/commits/d4466bac8fbdb18c67cd207ba89b1399bf906151
a89f02e Merge branch 'main' of github.com:python/cpython rhettinger Dec 8, 2021 https://github.com/python/cpython/pull/30403/commits/a89f02effd1fcf620c5a5740c73535b7dd35cc47
aae9a5f Merge branch 'main' of github.com:python/cpython rhettinger Dec 10, 2021 https://github.com/python/cpython/pull/30403/commits/aae9a5fbdb44d76d262f7654e8199e57c14241fe
7ba634b Merge branch 'main' of github.com:python/cpython rhettinger Jan 1, 2022 https://github.com/python/cpython/pull/30403/commits/7ba634bd146add5b70cdc43ba84ca124b8f115fa
0b54723 Add doctest and improve readability for move_to_end() example. rhettinger Jan 3, 2022 https://github.com/python/cpython/pull/30403/commits/0b547235a0ee617f83e13d616f8d6562520a499f
6ce943f Single pass sum of squares rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/6ce943f62ee628311859968324351dac29c51aff
c8e2de7 Use len() to get the count rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/c8e2de7d1e69332bb024a015fac86688adc2e977
45d83da Avoid converting iterators to lists rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/45d83da8eb47cdbfab49d5a57c9cc4635378b01f
b1a89be Neaten-up rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/b1a89be49481361dc982ed4fb10408cc164c4e59
b4d2797 Add blurb rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/b4d2797476c3a164ead5643b8483299f36138f66
712f648 Avoid touching collections.rst rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/712f648b86d0d9f67d41e95af4405ee878d14a5b
dc98276 Accumulate unsquared denominators rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/dc98276ec2c62cecef08ac660b5c470e30cd85f7
6b2e8ca Update Lib/statistics.py rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/6b2e8ca128bc590c380d16660a7d23ce6dc6210f
ae382ff Make mean() single pass over iterators rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/ae382ffa0d59ba408173fa89e59ced2a721e05f2
2e03c7a Merge branch 'statistics_fast_ss' of github.com:rhettinger/cpython in… rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/2e03c7a17b047c6b2f2e2563428523d211716b68
bbe6558 Update blurb to cover mean(). rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/bbe65586b39c4b695dd0454ebf2d1097d7320305
326bce8 Move _ss() into the private utilities section. rhettinger Jan 4, 2022 https://github.com/python/cpython/pull/30403/commits/326bce8fe3e8d70308a68d08593f10c84f4abf9c
208abcd Use defaultdict() instead of boundmethod rhettinger Jan 5, 2022 https://github.com/python/cpython/pull/30403/commits/208abcd8f1726646f8d86306616b0db802d8064c
Clear filters https://github.com/python/cpython/pull/30403/files
Please reload this pagehttps://github.com/python/cpython/pull/30403/files
Please reload this pagehttps://github.com/python/cpython/pull/30403/files
statistics.py https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
2022-01-04-11-04-20.bpo-46257._o2ADe.rst https://github.com/python/cpython/pull/30403/files#diff-618f5eefaf254a6f505674bb3305841c087a73b9d141c05a11cce43791e5a58c
Lib/statistics.pyhttps://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
View file https://github.com/rhettinger/cpython/blob/208abcd8f1726646f8d86306616b0db802d8064c/Lib/statistics.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30403/{{ revealButtonHref }}
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
Please reload this pagehttps://github.com/python/cpython/pull/30403/files
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
https://github.com/python/cpython/pull/30403/files#diff-688235e5e23f6bc4ed2cbc487b0ec9adf0334f0ab31b8a115c457c82bf011b0a
Misc/NEWS.d/next/Library/2022-01-04-11-04-20.bpo-46257._o2ADe.rsthttps://github.com/python/cpython/pull/30403/files#diff-618f5eefaf254a6f505674bb3305841c087a73b9d141c05a11cce43791e5a58c
View file https://github.com/rhettinger/cpython/blob/208abcd8f1726646f8d86306616b0db802d8064c/Misc/NEWS.d/next/Library/2022-01-04-11-04-20.bpo-46257._o2ADe.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30403/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.