René's URL Explorer Experiment


Title: Optimize `naturalsize` algorithm by using `math.log` by Zaczero · Pull Request #253 · python-humanize/humanize · GitHub

Open Graph Title: Optimize `naturalsize` algorithm by using `math.log` by Zaczero · Pull Request #253 · python-humanize/humanize

X Title: Optimize `naturalsize` algorithm by using `math.log` by Zaczero · Pull Request #253 · python-humanize/humanize

Description: Python humanize functions. Contribute to python-humanize/humanize development by creating an account on GitHub.

Open Graph Description: Changes proposed in this pull request: Optimize naturalsize algorithm by using math.log

X Description: Changes proposed in this pull request: Optimize naturalsize algorithm by using math.log

Opengraph URL: https://github.com/python-humanize/humanize/pull/253

X: @github

direct link

Domain: github.com

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:3879f94f-dea2-7150-f3e3-cde6978e0120
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id844A:262D17:58478:75DC6:6A53D32D
html-safe-nonce12bb78e27ee855dcd1f87b1aca18525699d1d9208cc608f2e36fa95365fb2c83
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDRBOjI2MkQxNzo1ODQ3ODo3NURDNjo2QTUzRDMyRCIsInZpc2l0b3JfaWQiOiI2MTk0Mzg1MjkxMzA4MTU5Nzg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb5107f933e5f37be68423c6b321c1b113de4c752e789a9b6d4d219e91bfc3401
hovercard-subject-tagpull_request:2538761607
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/python-humanize/humanize/253/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c2eb5219d9edaae757a6b623968ad193aba2ca8577de1ec463c534a1d3b8eb88/python-humanize/humanize/pull/253
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c2eb5219d9edaae757a6b623968ad193aba2ca8577de1ec463c534a1d3b8eb88/python-humanize/humanize/pull/253
og:image:altChanges proposed in this pull request: Optimize naturalsize algorithm by using math.log
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameZaczero
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python-humanize/humanize git https://github.com/python-humanize/humanize.git
octolytics-dimension-user_id62149795
octolytics-dimension-user_loginpython-humanize
octolytics-dimension-repository_id466683324
octolytics-dimension-repository_nwopython-humanize/humanize
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id466683324
octolytics-dimension-repository_network_root_nwopython-humanize/humanize
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-humanize/humanize/pull/253#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F253
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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-humanize%2Fhumanize%2Fpull%2F253
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python-humanize%2Fhumanize
Reloadhttps://github.com/python-humanize/humanize/pull/253
Reloadhttps://github.com/python-humanize/humanize/pull/253
Reloadhttps://github.com/python-humanize/humanize/pull/253
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
python-humanize https://github.com/python-humanize
humanizehttps://github.com/python-humanize/humanize
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
Notifications https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Fork 115 https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Star 736 https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Code https://github.com/python-humanize/humanize
Issues 12 https://github.com/python-humanize/humanize/issues
Pull requests 12 https://github.com/python-humanize/humanize/pulls
Actions https://github.com/python-humanize/humanize/actions
Security and quality 0 https://github.com/python-humanize/humanize/security
Insights https://github.com/python-humanize/humanize/pulse
Code https://github.com/python-humanize/humanize
Issues https://github.com/python-humanize/humanize/issues
Pull requests https://github.com/python-humanize/humanize/pulls
Actions https://github.com/python-humanize/humanize/actions
Security and quality https://github.com/python-humanize/humanize/security
Insights https://github.com/python-humanize/humanize/pulse
hugovkhttps://github.com/hugovk
python-humanize:mainhttps://github.com/python-humanize/humanize/tree/main
Conversationhttps://github.com/python-humanize/humanize/pull/253
Commits2 (2)https://github.com/python-humanize/humanize/pull/253/commits
Checkshttps://github.com/python-humanize/humanize/pull/253/checks
Files changedhttps://github.com/python-humanize/humanize/pull/253/files
Optimize naturalsize algorithm by using math.loghttps://github.com/python-humanize/humanize/pull/253#top
hugovkhttps://github.com/hugovk
python-humanize:mainhttps://github.com/python-humanize/humanize/tree/main
https://github.com/Zaczero
Zaczerohttps://github.com/Zaczero
May 23, 2025https://github.com/python-humanize/humanize/pull/253#issue-3085135031
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
Zaczerohttps://github.com/Zaczero
May 23, 2025 06:43https://github.com/python-humanize/humanize/pull/253#commits-pushed-76c779e
https://github.com/Zaczero
Optimize naturalsize algorithm by using math.loghttps://github.com/python-humanize/humanize/pull/253/commits/76c779efaf9f9a53fb6b269a469737fe61ddb1d4
76c779ehttps://github.com/python-humanize/humanize/pull/253/commits/76c779efaf9f9a53fb6b269a469737fe61ddb1d4
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python-humanize/humanize/pull/253/commits/a79dafa315af743ff9ec1050f0889fdbf18661bd
a79dafahttps://github.com/python-humanize/humanize/pull/253/commits/a79dafa315af743ff9ec1050f0889fdbf18661bd
https://pre-commit.cihttps://pre-commit.ci
https://github.com/Zaczero
Zaczerohttps://github.com/Zaczero
May 23, 2025 https://github.com/python-humanize/humanize/pull/253#pullrequestreview-2863153009
View reviewed changes https://github.com/python-humanize/humanize/pull/253/files/a79dafa315af743ff9ec1050f0889fdbf18661bd
src/humanize/filesize.pyhttps://github.com/python-humanize/humanize/pull/253/files/a79dafa315af743ff9ec1050f0889fdbf18661bd#diff-a6302c264ca9643e28ddcb2813a6795230460bfc509c729ee4697734cb94f84b
Zaczerohttps://github.com/Zaczero
May 23, 2025https://github.com/python-humanize/humanize/pull/253#discussion_r2103796724
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
hugovkhttps://github.com/hugovk
May 23, 2025https://github.com/python-humanize/humanize/pull/253#discussion_r2104722719
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
https://github.com/hugovk
hugovkhttps://github.com/hugovk
changelog: Changed https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Changed%22
May 23, 2025https://github.com/python-humanize/humanize/pull/253#event-17784267072
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
May 23, 2025https://github.com/python-humanize/humanize/pull/253#issuecomment-2903424047
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
Codecovhttps://app.codecov.io/gh/python-humanize/humanize/pull/253?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
b818dbfhttps://app.codecov.io/gh/python-humanize/humanize/commit/b818dbf8792e7b86c15a0e1fd2085396096bcb75?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
a79dafahttps://app.codecov.io/gh/python-humanize/humanize/commit/a79dafa315af743ff9ec1050f0889fdbf18661bd?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Flaghttps://app.codecov.io/gh/python-humanize/humanize/pull/253/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
macos-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/253/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
ubuntu-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/253/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
windows-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/253/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Sentryhttps://app.codecov.io/gh/python-humanize/humanize/pull/253?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Test Analyticshttps://docs.codecov.com/docs/test-analytics
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 23, 2025 https://github.com/python-humanize/humanize/pull/253#pullrequestreview-2864635976
View reviewed changes https://github.com/python-humanize/humanize/pull/253/files/a79dafa315af743ff9ec1050f0889fdbf18661bd
hugovkhttps://github.com/hugovk
https://github.com/python-humanize/humanize/pull/253#pullrequestreview-2864635976
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
src/humanize/filesize.pyhttps://github.com/python-humanize/humanize/pull/253/files/a79dafa315af743ff9ec1050f0889fdbf18661bd#diff-a6302c264ca9643e28ddcb2813a6795230460bfc509c729ee4697734cb94f84b
hugovkhttps://github.com/hugovk
May 23, 2025https://github.com/python-humanize/humanize/pull/253#discussion_r2104722719
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 23, 2025https://github.com/python-humanize/humanize/pull/253#event-17791476485
https://github.com/hugovk
hugovkhttps://github.com/hugovk
bb99238https://github.com/python-humanize/humanize/commit/bb99238e6f31917f177d5922ab8e62f33d1cc36f
May 23, 2025https://github.com/python-humanize/humanize/pull/253#event-17791480368
https://github.com/Zaczero
Zaczerohttps://github.com/Zaczero
May 23, 2025 19:36https://github.com/python-humanize/humanize/pull/253#event-17795419413
https://github.co/hiddenchars
https://github.com/python-humanize/humanize/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%2Fpython-humanize%2Fhumanize%2Fpull%2F253
https://github.com/hugovk
hugovk https://github.com/hugovk
https://github.com/python-humanize/humanize/pull/253/files/a79dafa315af743ff9ec1050f0889fdbf18661bd
changelog: Changed https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Changed%22
Please reload this pagehttps://github.com/python-humanize/humanize/pull/253
https://github.com/Zaczero
https://github.com/hugovk
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.