René's URL Explorer Experiment


Title: Performance: 58% faster Project Euler 070 by ManpreetXSingh · Pull Request #10558 · TheAlgorithms/Python · GitHub

Open Graph Title: Performance: 58% faster Project Euler 070 by ManpreetXSingh · Pull Request #10558 · TheAlgorithms/Python

X Title: Performance: 58% faster Project Euler 070 by ManpreetXSingh · Pull Request #10558 · TheAlgorithms/Python

Description: All Algorithms implemented in Python. Contribute to TheAlgorithms/Python development by creating an account on GitHub.

Open Graph Description: Describe your change: #8594 Benchmark: Old solution: 118.2/10 seconds New solution: 49.3/10 seconds Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Ch...

X Description: Describe your change: #8594 Benchmark: Old solution: 118.2/10 seconds New solution: 49.3/10 seconds Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Ch...

Opengraph URL: https://github.com/TheAlgorithms/Python/pull/10558

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c400f664-2bee-9639-280b-71d618cb0369
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEA00:1D6180:5272C6:709DCE:6AFBA0F3
html-safe-nonce2e3191066ecd131793ad6afa7624216d45675f51e9679b3471287aeb3ff733f5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTAwOjFENjE4MDo1MjcyQzY6NzA5RENFOjZBRkJBMEYzIiwidmlzaXRvcl9pZCI6IjgxNTQxNjY4ODQ0OTkyMTI2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac92614f85f9848ab0848f97ab7098d3a8c52fad4274b9cd8aad59b8c66bff08c1
hovercard-subject-tagpull_request:1557551925
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/TheAlgorithms/Python/10558/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bb87d01ebbcf91839820ede4c2ec47675c1345468bdbcc199535b94fcd9793ec/TheAlgorithms/Python/pull/10558
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bb87d01ebbcf91839820ede4c2ec47675c1345468bdbcc199535b94fcd9793ec/TheAlgorithms/Python/pull/10558
og:image:altDescribe your change: #8594 Benchmark: Old solution: 118.2/10 seconds New solution: 49.3/10 seconds Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Ch...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameManpreetXSingh
hostnamegithub.com
expected-hostnamegithub.com
None3cefd19a936819d82cfb5279d50fb56fe79cb9ec30f0f807e04e89b0c58ffae1
turbo-cache-controlno-cache
go-importgithub.com/TheAlgorithms/Python git https://github.com/TheAlgorithms/Python.git
octolytics-dimension-user_id20487725
octolytics-dimension-user_loginTheAlgorithms
octolytics-dimension-repository_id63476337
octolytics-dimension-repository_nwoTheAlgorithms/Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id63476337
octolytics-dimension-repository_network_root_nwoTheAlgorithms/Python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release606800bdb1b81d125fc845bdcc262c9fe063fc8f
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/TheAlgorithms/Python/pull/10558#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F10558
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F10558
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=TheAlgorithms%2FPython
Reloadhttps://github.com/TheAlgorithms/Python/pull/10558
Reloadhttps://github.com/TheAlgorithms/Python/pull/10558
Reloadhttps://github.com/TheAlgorithms/Python/pull/10558
TheAlgorithmshttps://github.com/TheAlgorithms
Pythonhttps://github.com/TheAlgorithms/Python
Codehttps://github.com/TheAlgorithms/Python
Issues14 (14)https://github.com/TheAlgorithms/Python/issues
Pull requests104 (104)https://github.com/TheAlgorithms/Python/pulls
Discussionshttps://github.com/TheAlgorithms/Python/discussions
Actionshttps://github.com/TheAlgorithms/Python/actions
Projectshttps://github.com/TheAlgorithms/Python/projects
Wikihttps://github.com/TheAlgorithms/Python/wiki
Security and qualityhttps://github.com/TheAlgorithms/Python/security
Insightshttps://github.com/TheAlgorithms/Python/pulse
https://github.com/TheAlgorithms/Python
ManpreetXSinghhttps://github.com/ManpreetXSingh
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
Conversationhttps://github.com/TheAlgorithms/Python/pull/10558
Commits14 (14)https://github.com/TheAlgorithms/Python/pull/10558/commits
Checkshttps://github.com/TheAlgorithms/Python/pull/10558/checks
Files changedhttps://github.com/TheAlgorithms/Python/pull/10558/files
Performance: 58% faster Project Euler 070https://github.com/TheAlgorithms/Python/pull/10558#top
ManpreetXSinghhttps://github.com/ManpreetXSingh
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
https://github.com/ManpreetXSingh
ManpreetXSinghhttps://github.com/ManpreetXSingh
Oct 15, 2023https://github.com/TheAlgorithms/Python/pull/10558#issue-1944035600
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
#8594https://github.com/TheAlgorithms/Python/issues/8594
CONTRIBUTING.mdhttps://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md
type hintshttps://docs.python.org/3/library/typing.html
doctestshttps://docs.python.org/3/library/doctest.html
closing keywordhttps://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
ManpreetXSinghhttps://github.com/ManpreetXSingh
October 16, 2023 00:33https://github.com/TheAlgorithms/Python/pull/10558#commits-pushed-5958ffa
https://github.com/ManpreetXSingh
Separate common solutionhttps://github.com/TheAlgorithms/Python/pull/10558/commits/5958ffaca225e2874b61d058ca2234b3f79dcc6d
5958ffahttps://github.com/TheAlgorithms/Python/pull/10558/commits/5958ffaca225e2874b61d058ca2234b3f79dcc6d
https://github.com/ManpreetXSingh
Add slicing_get_totientshttps://github.com/TheAlgorithms/Python/pull/10558/commits/d6b16c6e1ccefba85a1393cbf0e378a4ffbb0519
d6b16c6https://github.com/TheAlgorithms/Python/pull/10558/commits/d6b16c6e1ccefba85a1393cbf0e378a4ffbb0519
https://github.com/ManpreetXSingh
Add fast get_totients and calculate_prime_numbershttps://github.com/TheAlgorithms/Python/pull/10558/commits/fa8f7f9700ee963a828d67dde7de83531c10def9
fa8f7f9https://github.com/TheAlgorithms/Python/pull/10558/commits/fa8f7f9700ee963a828d67dde7de83531c10def9
https://github.com/ManpreetXSingh
Add slow_solution and slicing_solutionhttps://github.com/TheAlgorithms/Python/pull/10558/commits/9bf26552a0b706165c4f52b024f180c293740883
9bf2655https://github.com/TheAlgorithms/Python/pull/10558/commits/9bf26552a0b706165c4f52b024f180c293740883
https://github.com/ManpreetXSingh
Add performance benchmarkhttps://github.com/TheAlgorithms/Python/pull/10558/commits/8113df97bcefc832c7c5fcabe3e7c9ed8978ee56
8113df9https://github.com/TheAlgorithms/Python/pull/10558/commits/8113df97bcefc832c7c5fcabe3e7c9ed8978ee56
https://github.com/ManpreetXSingh
Fix broken wikipedia linkhttps://github.com/TheAlgorithms/Python/pull/10558/commits/4f4218221d77699dd0777e81f0c955191a4bbdb3
4f42182https://github.com/TheAlgorithms/Python/pull/10558/commits/4f4218221d77699dd0777e81f0c955191a4bbdb3
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://github.com/apps/algorithms-keeper
enhancement https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement
awaiting reviews https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22
Oct 15, 2023https://github.com/TheAlgorithms/Python/pull/10558#event-10658386696
ManpreetXSinghhttps://github.com/ManpreetXSingh
October 16, 2023 11:52https://github.com/TheAlgorithms/Python/pull/10558#commits-pushed-3949c1b
https://github.com/ManpreetXSingh
Add missing type hintshttps://github.com/TheAlgorithms/Python/pull/10558/commits/3949c1b94c78e1a51031121c17e092a48383d684
3949c1bhttps://github.com/TheAlgorithms/Python/pull/10558/commits/3949c1b94c78e1a51031121c17e092a48383d684
https://github.com/ManpreetXSingh
Add numpy calculate_prime_numbershttps://github.com/TheAlgorithms/Python/pull/10558/commits/bf95078ee2c887ee87a78b858e662ac2fd7ecb3c
bf95078https://github.com/TheAlgorithms/Python/pull/10558/commits/bf95078ee2c887ee87a78b858e662ac2fd7ecb3c
https://github.com/ManpreetXSingh
Add solution using np_calculate_prime_numbershttps://github.com/TheAlgorithms/Python/pull/10558/commits/9c9ad262d06b4b59ed23b7919b666bb69ac4b2ad
9c9ad26https://github.com/TheAlgorithms/Python/pull/10558/commits/9c9ad262d06b4b59ed23b7919b666bb69ac4b2ad
https://github.com/ManpreetXSingh
Update benchmarkshttps://github.com/TheAlgorithms/Python/pull/10558/commits/89cc321465a917ad05723d1eb1122578405d099b
89cc321https://github.com/TheAlgorithms/Python/pull/10558/commits/89cc321465a917ad05723d1eb1122578405d099b
https://github.com/ManpreetXSingh
ManpreetXSinghhttps://github.com/ManpreetXSingh
Oct 16, 2023https://github.com/TheAlgorithms/Python/pull/10558#event-10660915231
https://github.com/quant12345
quant12345https://github.com/quant12345
Oct 16, 2023https://github.com/TheAlgorithms/Python/pull/10558#issuecomment-1765207485
@manpreetsingh2004https://github.com/manpreetsingh2004
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
https://github.com/ManpreetXSingh
ManpreetXSinghhttps://github.com/ManpreetXSingh
Oct 18, 2023 https://github.com/TheAlgorithms/Python/pull/10558#ref-issue-1650315225
Optimize Project Euler solutions #8594 https://github.com/TheAlgorithms/Python/issues/8594
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://github.com/apps/algorithms-keeper
Oct 18, 2023 https://github.com/TheAlgorithms/Python/pull/10558#ref-pullrequest-1949721654
Bug Fix: Integer overflow on windows in Project Euler 072 #10672 https://github.com/TheAlgorithms/Python/pull/10672
https://github.com/ManpreetXSingh
ManpreetXSinghhttps://github.com/ManpreetXSingh
Oct 18, 2023https://github.com/TheAlgorithms/Python/pull/10558#issuecomment-1768435312
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
@quant12345https://github.com/quant12345
#10672https://github.com/TheAlgorithms/Python/pull/10672
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
https://github.com/quant12345
quant12345https://github.com/quant12345
Oct 18, 2023https://github.com/TheAlgorithms/Python/pull/10558#issuecomment-1768937151
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
@manpreetsingh2004https://github.com/manpreetsingh2004
Herehttps://stackoverflow.com/questions/2068372/fastest-way-to-list-all-primes-below-n/3035188#3035188
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
https://github.com/ManpreetXSingh
ManpreetXSinghhttps://github.com/ManpreetXSingh
Oct 18, 2023https://github.com/TheAlgorithms/Python/pull/10558#issuecomment-1768952146
@quant12345https://github.com/quant12345
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
https://github.com/dhruvmanila
dhruvmanilahttps://github.com/dhruvmanila
Oct 29, 2023 https://github.com/TheAlgorithms/Python/pull/10558#pullrequestreview-1702897011
View reviewed changes https://github.com/TheAlgorithms/Python/pull/10558/files/89cc321465a917ad05723d1eb1122578405d099b
dhruvmanilahttps://github.com/dhruvmanila
https://github.com/TheAlgorithms/Python/pull/10558#pullrequestreview-1702897011
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://github.com/apps/algorithms-keeper
awaiting changes https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting reviews https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22
Oct 29, 2023https://github.com/TheAlgorithms/Python/pull/10558#event-10799098916
https://github.com/ManpreetXSingh
ManpreetXSinghhttps://github.com/ManpreetXSingh
Oct 29, 2023https://github.com/TheAlgorithms/Python/pull/10558#issuecomment-1784141689
@dhruvmanilahttps://github.com/dhruvmanila
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
ManpreetXSinghhttps://github.com/ManpreetXSingh
December 29, 2023 16:55https://github.com/TheAlgorithms/Python/pull/10558#commits-pushed-7e9e827
https://github.com/ManpreetXSingh
Merge branch 'TheAlgorithms:master' into performance-project-euler-070https://github.com/TheAlgorithms/Python/pull/10558/commits/7e9e8274cacbf3f21dc0167a85c9852e16f37e02
7e9e827https://github.com/TheAlgorithms/Python/pull/10558/commits/7e9e8274cacbf3f21dc0167a85c9852e16f37e02
https://github.com/ManpreetXSingh
Remove py_solution and slicing_solutionhttps://github.com/TheAlgorithms/Python/pull/10558/commits/c2d35e5f0054fe7e3050c5c0c8c100af4b6ad230
c2d35e5https://github.com/TheAlgorithms/Python/pull/10558/commits/c2d35e5f0054fe7e3050c5c0c8c100af4b6ad230
https://github.com/ManpreetXSingh
Remove slow_solution and benchmarkhttps://github.com/TheAlgorithms/Python/pull/10558/commits/6ff00c74f626e2d5ec3c2aa67e7d08ce29024d54
6ff00c7https://github.com/TheAlgorithms/Python/pull/10558/commits/6ff00c74f626e2d5ec3c2aa67e7d08ce29024d54
https://github.com/ManpreetXSingh
Move prime generator to maths/prime_sieve_eratosthenes.pyhttps://github.com/TheAlgorithms/Python/pull/10558/commits/480cf3ec546101f0f6f2db1657a86e17084a258f
480cf3ehttps://github.com/TheAlgorithms/Python/pull/10558/commits/480cf3ec546101f0f6f2db1657a86e17084a258f
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://github.com/apps/algorithms-keeper
awaiting reviews https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22
awaiting changes https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Dec 29, 2023https://github.com/TheAlgorithms/Python/pull/10558#event-11356567745
https://github.com/ManpreetXSingh
ManpreetXSinghhttps://github.com/ManpreetXSingh
dhruvmanilahttps://github.com/dhruvmanila
December 29, 2023 12:22https://github.com/TheAlgorithms/Python/pull/10558#event-11356597922
https://github.com/ManpreetXSingh
ManpreetXSinghhttps://github.com/ManpreetXSingh
Dec 29, 2023https://github.com/TheAlgorithms/Python/pull/10558#issuecomment-1872023728
@dhruvmanilahttps://github.com/dhruvmanila
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
https://github.com/ManpreetXSingh
ManpreetXSinghhttps://github.com/ManpreetXSingh
Aug 19, 2024https://github.com/TheAlgorithms/Python/pull/10558#event-13923857772
https://github.co/hiddenchars
https://github.com/TheAlgorithms/Python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F10558
https://github.com/dhruvmanila
dhruvmanila https://github.com/dhruvmanila
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
awaiting reviews https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22
enhancement https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/10558
https://github.com/ManpreetXSingh
https://github.com/quant12345
https://github.com/dhruvmanila
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.