René's URL Explorer Experiment


Title: Optimize ABC caches by ilevkivskyi · Pull Request #383 · python/typing · GitHub

Open Graph Title: Optimize ABC caches by ilevkivskyi · Pull Request #383 · python/typing

X Title: Optimize ABC caches by ilevkivskyi · Pull Request #383 · python/typing

Description: Extensive use of isinstance with ABCs causes significant increase in memory consumption by generics, see https://mail.python.org/pipermail/python-dev/2017-January/147194.html Here I make _abc_cache...

Open Graph Description: Extensive use of isinstance with ABCs causes significant increase in memory consumption by generics, see https://mail.python.org/pipermail/python-dev/2017-January/147194.html Here I make _abc_cache...

X Description: Extensive use of isinstance with ABCs causes significant increase in memory consumption by generics, see https://mail.python.org/pipermail/python-dev/2017-January/147194.html Here I make _abc_cache...

Opengraph URL: https://github.com/python/typing/pull/383

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:71c631eb-7ebb-93ec-9f48-5609ae73ed5b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B7A:220088:900B8A:C89606:696A7FFE
html-safe-noncef7ff89dec8bcd048b60bc8b6d09182550876a3257e01365de334df2183d50b69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjdBOjIyMDA4ODo5MDBCOEE6Qzg5NjA2OjY5NkE3RkZFIiwidmlzaXRvcl9pZCI6IjMwMjE4MDA1MDAwMTM3Mjc3NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5e7214c6a8c8216fdaefe21127e08b2d76b24da56fb1b39ecfdf4ff6a1f9076e
hovercard-subject-tagpull_request:104155687
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/typing/383/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0378c261dc134971129a429883665eef8863da52988b5c6b13fcc8d06dce6c4b/python/typing/pull/383
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0378c261dc134971129a429883665eef8863da52988b5c6b13fcc8d06dce6c4b/python/typing/pull/383
og:image:altExtensive use of isinstance with ABCs causes significant increase in memory consumption by generics, see https://mail.python.org/pipermail/python-dev/2017-January/147194.html Here I make _abc_cache...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
None913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377
turbo-cache-controlno-preview
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
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
release5998c30593994bf2589055aef7b22d368a499367
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typing/pull/383#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F383
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%2Ftyping%2Fpull%2F383
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%2Ftyping
Reloadhttps://github.com/python/typing/pull/383
Reloadhttps://github.com/python/typing/pull/383
Reloadhttps://github.com/python/typing/pull/383
python https://github.com/python
typinghttps://github.com/python/typing
Notifications https://github.com/login?return_to=%2Fpython%2Ftyping
Fork 283 https://github.com/login?return_to=%2Fpython%2Ftyping
Star 1.7k https://github.com/login?return_to=%2Fpython%2Ftyping
Code https://github.com/python/typing
Issues 187 https://github.com/python/typing/issues
Pull requests 12 https://github.com/python/typing/pulls
Discussions https://github.com/python/typing/discussions
Actions https://github.com/python/typing/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/typing/security
Please reload this pagehttps://github.com/python/typing/pull/383
Insights https://github.com/python/typing/pulse
Code https://github.com/python/typing
Issues https://github.com/python/typing/issues
Pull requests https://github.com/python/typing/pulls
Discussions https://github.com/python/typing/discussions
Actions https://github.com/python/typing/actions
Security https://github.com/python/typing/security
Insights https://github.com/python/typing/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/typing/pull/383#issue-comment-box
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/typing/tree/master
ilevkivskyi:optimize-weaksethttps://github.com/ilevkivskyi/typehinting/tree/optimize-weakset
Optimize ABC caches https://github.com/python/typing/pull/383#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/typing/tree/master
ilevkivskyi:optimize-weaksethttps://github.com/ilevkivskyi/typehinting/tree/optimize-weakset
Conversation 16 https://github.com/python/typing/pull/383
Commits 8 https://github.com/python/typing/pull/383/commits
Checks 0 https://github.com/python/typing/pull/383/checks
Files changed https://github.com/python/typing/pull/383/files
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.co/hiddenchars
https://github.com/python/typing/pull/{{ revealButtonHref }}
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 1, 2017https://github.com/python/typing/pull/383#issue-204611095
https://mail.python.org/pipermail/python-dev/2017-January/147194.htmlhttps://mail.python.org/pipermail/python-dev/2017-January/147194.html
@methanehttps://github.com/methane
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Feb 1, 2017https://github.com/python/typing/pull/383#event-944898023
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 1, 2017https://github.com/python/typing/pull/383#issuecomment-276694681
@methanehttps://github.com/methane
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/methane
methanehttps://github.com/methane
Feb 2, 2017https://github.com/python/typing/pull/383#issuecomment-276889656
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/methane
methanehttps://github.com/methane
Feb 2, 2017 https://github.com/python/typing/pull/383#pullrequestreview-19748313
View reviewed changes https://github.com/python/typing/pull/383/files
python2/typing.pyhttps://github.com/python/typing/pull/383/files#diff-cbea31cd6366bdaf7805202979325ba4b14a29613bb7aeaecf9a18e94ea93619
methanehttps://github.com/methane
Feb 2, 2017https://github.com/python/typing/pull/383#discussion_r99086230
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/383
ilevkivskyihttps://github.com/ilevkivskyi
Feb 2, 2017https://github.com/python/typing/pull/383#discussion_r99088586
Please reload this pagehttps://github.com/python/typing/pull/383
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/383
methanehttps://github.com/methane
Feb 2, 2017https://github.com/python/typing/pull/383#discussion_r99096667
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/383
ilevkivskyihttps://github.com/ilevkivskyi
Feb 2, 2017https://github.com/python/typing/pull/383#discussion_r99104133
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 2, 2017https://github.com/python/typing/pull/383#issuecomment-276950409
@methanehttps://github.com/methane
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/methane
methanehttps://github.com/methane
Feb 2, 2017https://github.com/python/typing/pull/383#issuecomment-276953399
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/methane
methanehttps://github.com/methane
Feb 2, 2017https://github.com/python/typing/pull/383#issuecomment-276955752
https://gist.github.com/methane/3c34f11fb677365a7e92afe73aca24e7https://gist.github.com/methane/3c34f11fb677365a7e92afe73aca24e7
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 2, 2017https://github.com/python/typing/pull/383#issuecomment-276960443
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/methane
methanehttps://github.com/methane
Feb 2, 2017https://github.com/python/typing/pull/383#issuecomment-276961094
https://github.com/python/typing/pull/383
#383 (comment)https://github.com/python/typing/pull/383#issuecomment-276960443
https://github.com/notifications/unsubscribe-auth/AAMLqOlWiR55Oauh63T5OXsuof73RMjMks5rYd3DgaJpZM4Lz-42https://github.com/notifications/unsubscribe-auth/AAMLqOlWiR55Oauh63T5OXsuof73RMjMks5rYd3DgaJpZM4Lz-42
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 2, 2017https://github.com/python/typing/pull/383#issuecomment-276962587
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/methane
methanehttps://github.com/methane
Feb 2, 2017https://github.com/python/typing/pull/383#issuecomment-276965411
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 2, 2017https://github.com/python/typing/pull/383#issuecomment-276986025
@methanehttps://github.com/methane
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 3, 2017 https://github.com/python/typing/pull/383#ref-pullrequest-203817379
Add some tests based on coverage report: Part 2 #375 https://github.com/python/typing/pull/375
February 4, 2017 11:03https://github.com/python/typing/pull/383#commits-pushed-313ca43
https://github.com/ilevkivskyi
Optimize ABC negative cache for genericshttps://github.com/python/typing/pull/383/commits/313ca4383f59e62fe75b4746bb12751434570b46
313ca43https://github.com/python/typing/pull/383/commits/313ca4383f59e62fe75b4746bb12751434570b46
https://github.com/ilevkivskyi
Add also positive cache and registry linkshttps://github.com/python/typing/pull/383/commits/6382c8a16fe511a80fedb9b8bba79425d1f4810f
6382c8ahttps://github.com/python/typing/pull/383/commits/6382c8a16fe511a80fedb9b8bba79425d1f4810f
https://github.com/ilevkivskyi
Formattinghttps://github.com/python/typing/pull/383/commits/6d1bcf22a082805a472b8d7abe6599f429915689
6d1bcf2https://github.com/python/typing/pull/383/commits/6d1bcf22a082805a472b8d7abe6599f429915689
https://github.com/ilevkivskyi
Add ABC optimization to PY2https://github.com/python/typing/pull/383/commits/c464731f013a691677e7602a22aff2832d84d105
c464731https://github.com/python/typing/pull/383/commits/c464731f013a691677e7602a22aff2832d84d105
https://github.com/ilevkivskyi
Inline internal helper for more speedhttps://github.com/python/typing/pull/383/commits/423fb755fed7d8519e00c94f2b17847d3aa65eb1
423fb75https://github.com/python/typing/pull/383/commits/423fb755fed7d8519e00c94f2b17847d3aa65eb1
https://github.com/ilevkivskyi
Fix negative cahce settershttps://github.com/python/typing/pull/383/commits/f998e24e12b360f1bc6618fbc37d28522c85ab1f
f998e24https://github.com/python/typing/pull/383/commits/f998e24e12b360f1bc6618fbc37d28522c85ab1f
https://github.com/ilevkivskyi
Fix negative cahce setters on PY2https://github.com/python/typing/pull/383/commits/9444b535def9900f34fd48993f57395547716c44
9444b53https://github.com/python/typing/pull/383/commits/9444b535def9900f34fd48993f57395547716c44
https://github.com/ilevkivskyi
Make negative caches writable only for non-subscripted genericshttps://github.com/python/typing/pull/383/commits/0ca5c0b0c6ba2047a65ccff733bde5cbe82bcd2b
0ca5c0bhttps://github.com/python/typing/pull/383/commits/0ca5c0b0c6ba2047a65ccff733bde5cbe82bcd2b
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
force-pushedhttps://github.com/python/typing/compare/149b538b9700a2968cf5eeab0af24a7836ce2e87..0ca5c0b0c6ba2047a65ccff733bde5cbe82bcd2b
149b538https://github.com/python/typing/commit/149b538b9700a2968cf5eeab0af24a7836ce2e87
0ca5c0bhttps://github.com/python/typing/commit/0ca5c0b0c6ba2047a65ccff733bde5cbe82bcd2b
Compare https://github.com/python/typing/compare/149b538b9700a2968cf5eeab0af24a7836ce2e87..0ca5c0b0c6ba2047a65ccff733bde5cbe82bcd2b
February 4, 2017 10:12https://github.com/python/typing/pull/383#event-949072549
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 10, 2017https://github.com/python/typing/pull/383#issuecomment-279039738
PEP 494https://www.python.org/dev/peps/pep-0494/#id1
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 10, 2017https://github.com/python/typing/pull/383#issuecomment-279041397
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
58c86adhttps://github.com/python/typing/commit/58c86ad81fca6c12ad0aa43b4f2abab07a537bac
Feb 10, 2017https://github.com/python/typing/pull/383#event-957809799
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Sep 3, 2017 https://github.com/python/typing/pull/383#ref-issue-254895606
Proposal: Make generic types non-classes. #468 https://github.com/python/typing/issues/468
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%2Ftyping%2Fpull%2F383
https://github.com/methane
methane https://github.com/methane
https://github.com/python/typing/pull/383/files/fefae6822300ae9900b01cbb5e9a87a67b9d98f6
CLA signed https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Please reload this pagehttps://github.com/python/typing/pull/383
https://github.com/ilevkivskyi
https://github.com/methane
https://github.com/gvanrossum
https://github.com/the-knights-who-say-ni
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.