René's URL Explorer Experiment


Title: [PERF]: Use __new__ to directly instantiate cdef classes by mdboom · Pull Request #1648 · NVIDIA/cuda-python · GitHub

Open Graph Title: [PERF]: Use __new__ to directly instantiate cdef classes by mdboom · Pull Request #1648 · NVIDIA/cuda-python

X Title: [PERF]: Use __new__ to directly instantiate cdef classes by mdboom · Pull Request #1648 · NVIDIA/cuda-python

Description: CUDA Python: Performance meets Productivity. Contribute to NVIDIA/cuda-python development by creating an account on GitHub.

Open Graph Description: Fixes #1643. This follows the advice in the Cython docs for directly instantiating a cdef class Python object. This avoids a dictionary lookup and a Python-calling-convention call to the construc...

X Description: Fixes #1643. This follows the advice in the Cython docs for directly instantiating a cdef class Python object. This avoids a dictionary lookup and a Python-calling-convention call to the construc...

Opengraph URL: https://github.com/NVIDIA/cuda-python/pull/1648

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:56546f85-6aed-1cb6-048c-6f84d7e53697
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83D4:1AB976:1B0B4D:25CD34:6AF839B0
html-safe-nonce0e987ebd2493ad607001a5ce9932998c36965f6f035fc8515c1ac38fc9e8118e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0Q0OjFBQjk3NjoxQjBCNEQ6MjVDRDM0OjZBRjgzOUIwIiwidmlzaXRvcl9pZCI6IjE5NjcyMTczNDgzMjYyMDk5NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac79cc93d25543e8f02c16c4e4dbf16a30a9c3be79ceec5ce99a208102ee4fb8cf
hovercard-subject-tagpull_request:3299733753
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/NVIDIA/cuda-python/1648/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/819f3f6b4982f47beb4611a76271ad475e3edd7ecd153010a110c76137857a43/NVIDIA/cuda-python/pull/1648
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/819f3f6b4982f47beb4611a76271ad475e3edd7ecd153010a110c76137857a43/NVIDIA/cuda-python/pull/1648
og:image:altFixes #1643. This follows the advice in the Cython docs for directly instantiating a cdef class Python object. This avoids a dictionary lookup and a Python-calling-convention call to the construc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemdboom
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-cache
go-importgithub.com/NVIDIA/cuda-python git https://github.com/NVIDIA/cuda-python.git
octolytics-dimension-user_id1728152
octolytics-dimension-user_loginNVIDIA
octolytics-dimension-repository_id381173759
octolytics-dimension-repository_nwoNVIDIA/cuda-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id381173759
octolytics-dimension-repository_network_root_nwoNVIDIA/cuda-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
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/NVIDIA/cuda-python/pull/1648#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F1648
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%2FNVIDIA%2Fcuda-python%2Fpull%2F1648
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=NVIDIA%2Fcuda-python
Reloadhttps://github.com/NVIDIA/cuda-python/pull/1648
Reloadhttps://github.com/NVIDIA/cuda-python/pull/1648
Reloadhttps://github.com/NVIDIA/cuda-python/pull/1648
NVIDIAhttps://github.com/NVIDIA
cuda-pythonhttps://github.com/NVIDIA/cuda-python
Codehttps://github.com/NVIDIA/cuda-python
Issues219 (219)https://github.com/NVIDIA/cuda-python/issues
Pull requests92 (92)https://github.com/NVIDIA/cuda-python/pulls
Discussionshttps://github.com/NVIDIA/cuda-python/discussions
Actionshttps://github.com/NVIDIA/cuda-python/actions
Projectshttps://github.com/NVIDIA/cuda-python/projects
Wikihttps://github.com/NVIDIA/cuda-python/wiki
Security and qualityhttps://github.com/NVIDIA/cuda-python/security
Insightshttps://github.com/NVIDIA/cuda-python/pulse
https://github.com/NVIDIA/cuda-python
mdboomhttps://github.com/mdboom
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
mdboom:use-newhttps://github.com/mdboom/cuda-python/tree/use-new
Conversationhttps://github.com/NVIDIA/cuda-python/pull/1648
Commits1 (1)https://github.com/NVIDIA/cuda-python/pull/1648/commits
Checkshttps://github.com/NVIDIA/cuda-python/pull/1648/checks
Files changedhttps://github.com/NVIDIA/cuda-python/pull/1648/files
[PERF]: Use __new__ to directly instantiate cdef classeshttps://github.com/NVIDIA/cuda-python/pull/1648#top
mdboomhttps://github.com/mdboom
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
mdboom:use-newhttps://github.com/mdboom/cuda-python/tree/use-new
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Feb 18, 2026https://github.com/NVIDIA/cuda-python/pull/1648#issue-3959016393
#1643https://github.com/NVIDIA/cuda-python/issues/1643
the Cython docshttps://cython.readthedocs.io/en/latest/src/userguide/extension_types.html#fast-instantiation
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1648
https://github.com/mdboom
[PERF]: Use __new__ to directly instantiate cdef classeshttps://github.com/NVIDIA/cuda-python/pull/1648/commits/6b714ab1e4a61e18e167f81d722348e7816f4089
6b714abhttps://github.com/NVIDIA/cuda-python/pull/1648/commits/6b714ab1e4a61e18e167f81d722348e7816f4089
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Feb 18, 2026https://github.com/NVIDIA/cuda-python/pull/1648#event-22891651229
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
Feb 18, 2026https://github.com/NVIDIA/cuda-python/pull/1648#issuecomment-3922223101
herehttps://docs.gha-runners.nvidia.com/cpr/auto-sync
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1648
https://github.com/cpcloud
cpcloudhttps://github.com/cpcloud
Feb 18, 2026 https://github.com/NVIDIA/cuda-python/pull/1648#pullrequestreview-3821503550
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/1648/files/6b714ab1e4a61e18e167f81d722348e7816f4089
cpcloudhttps://github.com/cpcloud
https://github.com/NVIDIA/cuda-python/pull/1648#pullrequestreview-3821503550
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1648
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Feb 18, 2026https://github.com/NVIDIA/cuda-python/pull/1648#issuecomment-3922531406
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1648
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 18, 2026https://github.com/NVIDIA/cuda-python/pull/1648#issuecomment-3922603076
https://nvidia.github.io/cuda-python/pr-preview/pr-1648/https://nvidia.github.io/cuda-python/pr-preview/pr-1648/
https://nvidia.github.io/cuda-python/pr-preview/pr-1648/cuda-core/https://nvidia.github.io/cuda-python/pr-preview/pr-1648/cuda-core/
https://nvidia.github.io/cuda-python/pr-preview/pr-1648/cuda-bindings/https://nvidia.github.io/cuda-python/pr-preview/pr-1648/cuda-bindings/
https://nvidia.github.io/cuda-python/pr-preview/pr-1648/cuda-pathfinder/https://nvidia.github.io/cuda-python/pr-preview/pr-1648/cuda-pathfinder/
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1648
https://github.com/mdboom
mdboomhttps://github.com/mdboom
February 18, 2026 20:11https://github.com/NVIDIA/cuda-python/pull/1648#event-22895241435
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
Feb 18, 2026https://github.com/NVIDIA/cuda-python/pull/1648#issuecomment-3922942980
herehttps://docs.gha-runners.nvidia.com/cpr/auto-sync
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1648
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Feb 18, 2026https://github.com/NVIDIA/cuda-python/pull/1648#event-22895747358
https://github.com/leofang
leofanghttps://github.com/leofang
Feb 18, 2026https://github.com/NVIDIA/cuda-python/pull/1648#issuecomment-3923853225
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1648
https://github.com/leofang
leofanghttps://github.com/leofang
Feb 18, 2026https://github.com/NVIDIA/cuda-python/pull/1648#issuecomment-3923878221
#1643 (comment)https://github.com/NVIDIA/cuda-python/issues/1643#issuecomment-3923076958
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1648
github-actionshttps://github.com/apps/github-actions
Feb 19, 2026 https://github.com/NVIDIA/cuda-python/pull/1648#ref-commit-3d2d203
Clean up PR preview folders for 4 closed/merged PRshttps://github.com/NVIDIA/cuda-python/commit/3d2d20331190cccb546d5854439432a6ed5a8f07
3d2d203https://github.com/NVIDIA/cuda-python/commit/3d2d20331190cccb546d5854439432a6ed5a8f07
#1218https://github.com/NVIDIA/cuda-python/pull/1218
#1606https://github.com/NVIDIA/cuda-python/pull/1606
#1623https://github.com/NVIDIA/cuda-python/pull/1623
#1648https://github.com/NVIDIA/cuda-python/pull/1648
https://github.co/hiddenchars
https://github.com/NVIDIA/cuda-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%2FNVIDIA%2Fcuda-python%2Fpull%2F1648
https://github.com/cpcloud
cpcloud https://github.com/cpcloud
https://github.com/NVIDIA/cuda-python/pull/1648/files/6b714ab1e4a61e18e167f81d722348e7816f4089
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1648
https://github.com/mdboom
mdboom https://github.com/mdboom
[PERF] Construction of known cdef classes can go through __new__ https://github.com/NVIDIA/cuda-python/issues/1643
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1648
https://github.com/mdboom
https://github.com/leofang
https://github.com/cpcloud
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.