René's URL Explorer Experiment


Title: Optimise math.ceil for known exact float · hauntsaninja/cpython@3166603 · GitHub

Open Graph Title: Optimise math.ceil for known exact float · hauntsaninja/cpython@3166603

X Title: Optimise math.ceil for known exact float · hauntsaninja/cpython@3166603

Description: The Python programming language. Contribute to hauntsaninja/cpython development by creating an account on GitHub.

Open Graph Description: This matches a similar optimisation done for math.floor in https://github.com/python/cpython/pull/21072 Before: ``` λ ./python.exe -m timeit -r 11 -s 'from math import ceil' -s 'x=3.14...

X Description: This matches a similar optimisation done for math.floor in https://github.com/python/cpython/pull/21072 Before: ``` λ ./python.exe -m timeit -r 11 -s 'from math import ceil' -s &am...

Opengraph URL: /hauntsaninja/cpython/commit/3166603dfd61ff09d8c47547e1f848206d9742c4

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/commit/:name(/*path)
route-controllercommit
route-actionshow
fetch-noncev2:12e83cb9-1884-b5cc-43e9-fc8ce5fb2081
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idDA82:DA371:227DA6:2FC9D9:6996ED53
html-safe-nonced84a1abbe7159bd95fda8e90dfa86e41d6e982c236cbc24192df4eb650732db0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTgyOkRBMzcxOjIyN0RBNjoyRkM5RDk6Njk5NkVENTMiLCJ2aXNpdG9yX2lkIjoiMjM2NjkwMTEzMjQxMjE0MjkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5d15b54e5fe88f91c0b5c80b9f4741755631a0793a59887a4892404566a11b82
hovercard-subject-tagrepository:235942222
github-keyboard-shortcutsrepository,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///commit/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/hauntsaninja/cpython/commit/3166603dfd61ff09d8c47547e1f848206d9742c4
twitter:imagehttps://opengraph.githubassets.com/0f5963cb8f5c768724438bf026440546b2579d24e1d6b72e0820055bcc3c5214/hauntsaninja/cpython/commit/3166603dfd61ff09d8c47547e1f848206d9742c4
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0f5963cb8f5c768724438bf026440546b2579d24e1d6b72e0820055bcc3c5214/hauntsaninja/cpython/commit/3166603dfd61ff09d8c47547e1f848206d9742c4
og:image:altThis matches a similar optimisation done for math.floor in https://github.com/python/cpython/pull/21072 Before: ``` λ ./python.exe -m timeit -r 11 -s 'from math import ceil' -s 'x=3.14...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:updated_time1693632912
hostnamegithub.com
expected-hostnamegithub.com
None5513290f8d09a9ed78de519ab8316ed23b2b0ddd5e91d2420df56691d00827e8
turbo-cache-controlno-cache
go-importgithub.com/hauntsaninja/cpython git https://github.com/hauntsaninja/cpython.git
octolytics-dimension-user_id12621235
octolytics-dimension-user_loginhauntsaninja
octolytics-dimension-repository_id235942222
octolytics-dimension-repository_nwohauntsaninja/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id81598961
octolytics-dimension-repository_parent_nwopython/cpython
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
release76dcd6bfbb17f4e407097d5743e96cb8ebdafd9c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/hauntsaninja/cpython/commit/3166603dfd61ff09d8c47547e1f848206d9742c4#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhauntsaninja%2Fcpython%2Fcommit%2F3166603dfd61ff09d8c47547e1f848206d9742c4
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%2Fhauntsaninja%2Fcpython%2Fcommit%2F3166603dfd61ff09d8c47547e1f848206d9742c4
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%2Fcommit%2Fshow&source=header-repo&source_repo=hauntsaninja%2Fcpython
Reloadhttps://github.com/hauntsaninja/cpython/commit/3166603dfd61ff09d8c47547e1f848206d9742c4
Reloadhttps://github.com/hauntsaninja/cpython/commit/3166603dfd61ff09d8c47547e1f848206d9742c4
Reloadhttps://github.com/hauntsaninja/cpython/commit/3166603dfd61ff09d8c47547e1f848206d9742c4
hauntsaninja https://github.com/hauntsaninja
cpythonhttps://github.com/hauntsaninja/cpython
python/cpythonhttps://github.com/python/cpython
Notifications https://github.com/login?return_to=%2Fhauntsaninja%2Fcpython
Fork 0 https://github.com/login?return_to=%2Fhauntsaninja%2Fcpython
Star 0 https://github.com/login?return_to=%2Fhauntsaninja%2Fcpython
Code https://github.com/hauntsaninja/cpython
Pull requests 1 https://github.com/hauntsaninja/cpython/pulls
Actions https://github.com/hauntsaninja/cpython/actions
Projects 0 https://github.com/hauntsaninja/cpython/projects
Security 0 https://github.com/hauntsaninja/cpython/security
Insights https://github.com/hauntsaninja/cpython/pulse
Code https://github.com/hauntsaninja/cpython
Pull requests https://github.com/hauntsaninja/cpython/pulls
Actions https://github.com/hauntsaninja/cpython/actions
Projects https://github.com/hauntsaninja/cpython/projects
Security https://github.com/hauntsaninja/cpython/security
Insights https://github.com/hauntsaninja/cpython/pulse
Browse fileshttps://github.com/hauntsaninja/cpython/tree/3166603dfd61ff09d8c47547e1f848206d9742c4
https://github.com/hauntsaninja/cpython/tree/3166603dfd61ff09d8c47547e1f848206d9742c4
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja/cpython/commits?author=hauntsaninja
python#21072https://github.com/python/cpython/pull/21072
6f97eeehttps://github.com/hauntsaninja/cpython/commit/6f97eeec222f81bd7ae836c149872a40b079e2a6
mathmodule.chttps://github.com/hauntsaninja/cpython/commit/3166603dfd61ff09d8c47547e1f848206d9742c4#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7
‎Modules/mathmodule.c‎https://github.com/hauntsaninja/cpython/commit/3166603dfd61ff09d8c47547e1f848206d9742c4#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7
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.