René's URL Explorer Experiment


Title: Avoid creating instances of the generated delegate helper class every time `ReplaceOperatorImpl` is called by daxian-dbw · Pull Request #14128 · PowerShell/PowerShell · GitHub

Open Graph Title: Avoid creating instances of the generated delegate helper class every time `ReplaceOperatorImpl` is called by daxian-dbw · Pull Request #14128 · PowerShell/PowerShell

X Title: Avoid creating instances of the generated delegate helper class every time `ReplaceOperatorImpl` is called by daxian-dbw · Pull Request #14128 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: PR Summary Unnecessary Allocation In ReplaceOperatorImpl, a lambda expression is used in one of the switch case. But in the generated IL code, an instance of the generated delegate helper class is ...

X Description: PR Summary Unnecessary Allocation In ReplaceOperatorImpl, a lambda expression is used in one of the switch case. But in the generated IL code, an instance of the generated delegate helper class is ...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/14128

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:39349d2d-9495-ea0e-8e9e-473c1c8d4a59
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9FA2:10FEF0:15F2F4:1DB012:6A5252FE
html-safe-noncea6c24d03733558da3dd6ac3458951f2261a62fd69418880b976e1d6ce4daaaeb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkEyOjEwRkVGMDoxNUYyRjQ6MURCMDEyOjZBNTI1MkZFIiwidmlzaXRvcl9pZCI6IjM4OTU1OTQ1MTEwMjAyMTcwODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac346e7eb30e1cf7a63f700e11fd990577ef31d0180d62ec3aeb1ea53ee6aacb13
hovercard-subject-tagpull_request:523411845
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/PowerShell/PowerShell/14128/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/836e79084e27a8952d5d57d6dd34adf91db8bc8b2491f888e0e69ae2471c0d97/PowerShell/PowerShell/pull/14128
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/836e79084e27a8952d5d57d6dd34adf91db8bc8b2491f888e0e69ae2471c0d97/PowerShell/PowerShell/pull/14128
og:image:altPR Summary Unnecessary Allocation In ReplaceOperatorImpl, a lambda expression is used in one of the switch case. But in the generated IL code, an instance of the generated delegate helper class is ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedaxian-dbw
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/14128#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F14128
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%2FPowerShell%2FPowerShell%2Fpull%2F14128
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=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/14128
Reloadhttps://github.com/PowerShell/PowerShell/pull/14128
Reloadhttps://github.com/PowerShell/PowerShell/pull/14128
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 54.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.3k https://github.com/PowerShell/PowerShell/issues
Pull requests 286 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality 3 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Code https://github.com/PowerShell/PowerShell
Issues https://github.com/PowerShell/PowerShell/issues
Pull requests https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
iSazonovhttps://github.com/iSazonov
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
daxian-dbw:smallmemoryhttps://github.com/daxian-dbw/PowerShell/tree/smallmemory
Conversationhttps://github.com/PowerShell/PowerShell/pull/14128
Commits1 (1)https://github.com/PowerShell/PowerShell/pull/14128/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/14128/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/14128/files
Avoid creating instances of the generated delegate helper class every time ReplaceOperatorImpl is calledhttps://github.com/PowerShell/PowerShell/pull/14128#top
iSazonovhttps://github.com/iSazonov
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
daxian-dbw:smallmemoryhttps://github.com/daxian-dbw/PowerShell/tree/smallmemory
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
Nov 18, 2020https://github.com/PowerShell/PowerShell/pull/14128#issue-745933032
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
#14087https://github.com/PowerShell/PowerShell/issues/14087
@iSazonovhttps://github.com/iSazonov
https://user-images.githubusercontent.com/127450/99574597-74ff9800-298c-11eb-9ee0-3437bf05a015.png
https://user-images.githubusercontent.com/127450/99574988-e8090e80-298c-11eb-931b-6a8b3767f474.png
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure you've added a new test if existing tests do not effectively test the code changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
PowerShell Editor Serviceshttps://github.com/PowerShell/PowerShellEditorServices
PowerShell extensionhttps://github.com/PowerShell/vscode-powershell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
https://github.com/daxian-dbw
Avoid creating instances of the generated delegate helper classhttps://github.com/PowerShell/PowerShell/pull/14128/commits/501ed27261558b77d046c7b2fc5ac4adf4a53485
501ed27https://github.com/PowerShell/PowerShell/pull/14128/commits/501ed27261558b77d046c7b2fc5ac4adf4a53485
TravisEz13https://github.com/TravisEz13
Nov 18, 2020https://github.com/PowerShell/PowerShell/pull/14128#event-4012322482
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
iSazonovhttps://github.com/iSazonov
rjmholthttps://github.com/rjmholt
November 18, 2020 19:13https://github.com/PowerShell/PowerShell/pull/14128#event-4012322540
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
CL-Performance https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Performance
Nov 18, 2020https://github.com/PowerShell/PowerShell/pull/14128#event-4012388796
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
iSazonovhttps://github.com/iSazonov
TravisEz13https://github.com/TravisEz13
Nov 18, 2020https://github.com/PowerShell/PowerShell/pull/14128#event-4013061571
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Nov 19, 2020 https://github.com/PowerShell/PowerShell/pull/14128#pullrequestreview-534057171
View reviewed changes https://github.com/PowerShell/PowerShell/pull/14128/files/501ed27261558b77d046c7b2fc5ac4adf4a53485
src/System.Management.Automation/engine/lang/parserutils.cshttps://github.com/PowerShell/PowerShell/pull/14128/files/501ed27261558b77d046c7b2fc5ac4adf4a53485#diff-d04ec123ddfba57b269fd4c1ba199de16d132cd42a8fe36810607306025eb7c2
iSazonovhttps://github.com/iSazonov
Nov 19, 2020https://github.com/PowerShell/PowerShell/pull/14128#discussion_r526572073
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://www.stevejgordon.co.uk/high-performance-logging-in-net-corehttps://www.stevejgordon.co.uk/high-performance-logging-in-net-core
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
xtqqczzehttps://github.com/xtqqczze
Nov 19, 2020https://github.com/PowerShell/PowerShell/pull/14128#discussion_r526934335
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
daxian-dbwhttps://github.com/daxian-dbw
Nov 19, 2020https://github.com/PowerShell/PowerShell/pull/14128#discussion_r527077865
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@iSazonovhttps://github.com/iSazonov
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
daxian-dbwhttps://github.com/daxian-dbw
Nov 19, 2020https://github.com/PowerShell/PowerShell/pull/14128#discussion_r527079725
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@xtqqczzehttps://github.com/xtqqczze
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
iSazonovhttps://github.com/iSazonov
Nov 20, 2020https://github.com/PowerShell/PowerShell/pull/14128#discussion_r527380624
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
iSazonovhttps://github.com/iSazonov
Nov 20, 2020https://github.com/PowerShell/PowerShell/pull/14128#discussion_r527838278
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
daxian-dbwhttps://github.com/daxian-dbw
Nov 20, 2020https://github.com/PowerShell/PowerShell/pull/14128#discussion_r527896117
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
iSazonovhttps://github.com/iSazonov
Nov 20, 2020https://github.com/PowerShell/PowerShell/pull/14128#discussion_r527918613
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
daxian-dbwhttps://github.com/daxian-dbw
Nov 21, 2020https://github.com/PowerShell/PowerShell/pull/14128#discussion_r528036528
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
iSazonovhttps://github.com/iSazonov
Nov 21, 2020https://github.com/PowerShell/PowerShell/pull/14128#discussion_r528220362
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#14221https://github.com/PowerShell/PowerShell/pull/14221
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
https://github.com/rjmholt
rjmholthttps://github.com/rjmholt
Nov 19, 2020 https://github.com/PowerShell/PowerShell/pull/14128#pullrequestreview-534757923
View reviewed changes https://github.com/PowerShell/PowerShell/pull/14128/files/501ed27261558b77d046c7b2fc5ac4adf4a53485
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Nov 21, 2020 https://github.com/PowerShell/PowerShell/pull/14128#pullrequestreview-535981233
View reviewed changes https://github.com/PowerShell/PowerShell/pull/14128/files/501ed27261558b77d046c7b2fc5ac4adf4a53485
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
44f5811https://github.com/PowerShell/PowerShell/commit/44f5811acdb095bbcb7513f15ec1cdc3b7b674d2
Nov 21, 2020https://github.com/PowerShell/PowerShell/pull/14128#event-4024037002
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
November 22, 2020 05:11https://github.com/PowerShell/PowerShell/pull/14128#event-4024475075
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Nov 22, 2020 https://github.com/PowerShell/PowerShell/pull/14128#ref-pullrequest-748316089
Optimize IEnumerable variant of replace operator #14221 https://github.com/PowerShell/PowerShell/pull/14221
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
7.2.0-preview.2https://github.com/PowerShell/PowerShell/milestone/102
Nov 22, 2020https://github.com/PowerShell/PowerShell/pull/14128#event-4025103162
https://github.com/ghost
ghosthttps://github.com/ghost
Dec 15, 2020https://github.com/PowerShell/PowerShell/pull/14128#issuecomment-745583712
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.2.0-preview.2
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/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%2FPowerShell%2FPowerShell%2Fpull%2F14128
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/14128/files/501ed27261558b77d046c7b2fc5ac4adf4a53485
https://github.com/xtqqczze
xtqqczze https://github.com/xtqqczze
https://github.com/PowerShell/PowerShell/pull/14128/files/501ed27261558b77d046c7b2fc5ac4adf4a53485
https://github.com/rjmholt
rjmholt https://github.com/rjmholt
https://github.com/PowerShell/PowerShell/pull/14128/files/501ed27261558b77d046c7b2fc5ac4adf4a53485
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
CL-Performance https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Performance
7.2.0-preview.2 https://github.com/PowerShell/PowerShell/milestone/102
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14128
https://github.com/daxian-dbw
https://github.com/rjmholt
https://github.com/iSazonov
https://github.com/xtqqczze
https://github.com/TravisEz13
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.