René's URL Explorer Experiment


Title: lib: faster event listening by Farenheith · Pull Request #41309 · nodejs/node · GitHub

Open Graph Title: lib: faster event listening by Farenheith · Pull Request #41309 · nodejs/node

X Title: lib: faster event listening by Farenheith · Pull Request #41309 · nodejs/node

Description: The current EventEmitter uses arrays to control multiple listeners, but that means that prependListener and removeListeners operations have an O(N) time complexity. With this change, instead of an ...

Open Graph Description: The current EventEmitter uses arrays to control multiple listeners, but that means that prependListener and removeListeners operations have an O(N) time complexity. With this change, instead of an ...

X Description: The current EventEmitter uses arrays to control multiple listeners, but that means that prependListener and removeListeners operations have an O(N) time complexity. With this change, instead of an ...

Opengraph URL: https://github.com/nodejs/node/pull/41309

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:25acf941-4359-66c9-adcf-b1451877ed05
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE652:181900:BF8404:10500C3:6969E804
html-safe-nonceb583742a650a05c066873445a87f0b2e84c5b6191f522efdbf76b8d6adcbc354
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjUyOjE4MTkwMDpCRjg0MDQ6MTA1MDBDMzo2OTY5RTgwNCIsInZpc2l0b3JfaWQiOiIxOTcwOTE5NTYyODY0NjE3NDc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccbfd3771d476abf2b7419b74d83755a937c7f0709afc3a5fb3bd41e95930c14f
hovercard-subject-tagpull_request:809701729
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/nodejs/node/41309/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/44f4b0e70ffef05450f5a559999d4906877e89dcf8c293c45caae5cf981f02db/nodejs/node/pull/41309
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/44f4b0e70ffef05450f5a559999d4906877e89dcf8c293c45caae5cf981f02db/nodejs/node/pull/41309
og:image:altThe current EventEmitter uses arrays to control multiple listeners, but that means that prependListener and removeListeners operations have an O(N) time complexity. With this change, instead of an ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFarenheith
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/41309#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F41309
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%2Fnodejs%2Fnode%2Fpull%2F41309
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=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/41309
Reloadhttps://github.com/nodejs/node/pull/41309
Reloadhttps://github.com/nodejs/node/pull/41309
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/41309
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 34.4k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 115k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.7k https://github.com/nodejs/node/issues
Pull requests 697 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects 3 https://github.com/nodejs/node/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/nodejs/node/security
Please reload this pagehttps://github.com/nodejs/node/pull/41309
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/nodejs/node/pull/41309#issue-comment-box
Farenheithhttps://github.com/Farenheith
nodejs:masterhttps://github.com/nodejs/node/tree/master
Farenheith:farenheith/faster-emitterhttps://github.com/Farenheith/node/tree/farenheith/faster-emitter
lib: faster event listening https://github.com/nodejs/node/pull/41309#top
Farenheithhttps://github.com/Farenheith
nodejs:masterhttps://github.com/nodejs/node/tree/master
Farenheith:farenheith/faster-emitterhttps://github.com/Farenheith/node/tree/farenheith/faster-emitter
Conversation 12 https://github.com/nodejs/node/pull/41309
Commits 2 https://github.com/nodejs/node/pull/41309/commits
Checks 0 https://github.com/nodejs/node/pull/41309/checks
Files changed https://github.com/nodejs/node/pull/41309/files
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
https://github.com/Farenheith
Farenheithhttps://github.com/Farenheith
Dec 24, 2021https://github.com/nodejs/node/pull/41309#issue-1088352174
Please reload this pagehttps://github.com/nodejs/node/pull/41309
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/Farenheith
lib: faster event listeninghttps://github.com/nodejs/node/pull/41309/commits/eb49f16a666490bec49fe880ad3061bd8c5299f6
eb49f16https://github.com/nodejs/node/pull/41309/commits/eb49f16a666490bec49fe880ad3061bd8c5299f6
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Dec 24, 2021https://github.com/nodejs/node/pull/41309#issuecomment-1000817158
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
events https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aevents
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
Dec 24, 2021https://github.com/nodejs/node/pull/41309#event-5813571680
https://github.com/Farenheith
Farenheithhttps://github.com/Farenheith
Dec 24, 2021 https://github.com/nodejs/node/pull/41309#ref-pullrequest-1086394843
lib: performance improvement on readline async iterator #41276 https://github.com/nodejs/node/pull/41276
https://github.com/BridgeAR
BridgeARhttps://github.com/BridgeAR
Dec 24, 2021 https://github.com/nodejs/node/pull/41309#pullrequestreview-839903379
View reviewed changes https://github.com/nodejs/node/pull/41309/files/eb49f16a666490bec49fe880ad3061bd8c5299f6
BridgeARhttps://github.com/BridgeAR
https://github.com/nodejs/node/pull/41309#pullrequestreview-839903379
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/benjamingr
benjamingrhttps://github.com/benjamingr
Dec 24, 2021 https://github.com/nodejs/node/pull/41309#pullrequestreview-839905268
View reviewed changes https://github.com/nodejs/node/pull/41309/files/eb49f16a666490bec49fe880ad3061bd8c5299f6
benjamingrhttps://github.com/benjamingr
https://github.com/nodejs/node/pull/41309#pullrequestreview-839905268
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/mcollina
mcollinahttps://github.com/mcollina
semver-major https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Asemver-major
Dec 24, 2021https://github.com/nodejs/node/pull/41309#event-5813615997
https://github.com/Farenheith
Farenheithhttps://github.com/Farenheith
Dec 24, 2021https://github.com/nodejs/node/pull/41309#issuecomment-1000826738
Please reload this pagehttps://github.com/nodejs/node/pull/41309
@benjamingrhttps://github.com/benjamingr
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/benjamingr
benjamingrhttps://github.com/benjamingr
Dec 24, 2021https://github.com/nodejs/node/pull/41309#issuecomment-1000830317
@Farenheithhttps://github.com/Farenheith
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/Farenheith
Farenheithhttps://github.com/Farenheith
Dec 24, 2021https://github.com/nodejs/node/pull/41309#issuecomment-1000831361
@benjamingrhttps://github.com/benjamingr
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/Farenheith
Farenheithhttps://github.com/Farenheith
Dec 24, 2021https://github.com/nodejs/node/pull/41309#issuecomment-1000842608
Please reload this pagehttps://github.com/nodejs/node/pull/41309
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/Farenheith
Farenheithhttps://github.com/Farenheith
Dec 24, 2021https://github.com/nodejs/node/pull/41309#issuecomment-1000863166
@BridgeARhttps://github.com/BridgeAR
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/jasnell
jasnellhttps://github.com/jasnell
Dec 24, 2021https://github.com/nodejs/node/pull/41309#issuecomment-1000867293
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/Farenheith
lib: changing shift to pop during remove methodhttps://github.com/nodejs/node/pull/41309/commits/9b769a33f5b77e26157cdfa8af7d807319dc39b9
9b769a3https://github.com/nodejs/node/pull/41309/commits/9b769a33f5b77e26157cdfa8af7d807319dc39b9
https://github.com/Farenheith
Farenheithhttps://github.com/Farenheith
Dec 26, 2021https://github.com/nodejs/node/pull/41309#issuecomment-1001251628
Please reload this pagehttps://github.com/nodejs/node/pull/41309
@jasnellhttps://github.com/jasnell
@BridgeARhttps://github.com/BridgeAR
@benjamingrhttps://github.com/benjamingr
@benjamingrhttps://github.com/benjamingr
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/Farenheith
Farenheithhttps://github.com/Farenheith
Dec 26, 2021https://github.com/nodejs/node/pull/41309#event-5815981194
https://github.com/apapirovski
apapirovskihttps://github.com/apapirovski
Dec 29, 2021https://github.com/nodejs/node/pull/41309#issuecomment-1002680376
@Farenheithhttps://github.com/Farenheith
#21856https://github.com/nodejs/node/pull/21856
#17074https://github.com/nodejs/node/pull/17074
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/Farenheith
Farenheithhttps://github.com/Farenheith
Dec 31, 2021https://github.com/nodejs/node/pull/41309#issuecomment-1003366594
@apapirovskihttps://github.com/apapirovski
Please reload this pagehttps://github.com/nodejs/node/pull/41309
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F41309
https://github.com/BridgeAR
BridgeAR https://github.com/BridgeAR
https://github.com/nodejs/node/pull/41309/files/eb49f16a666490bec49fe880ad3061bd8c5299f6
https://github.com/benjamingr
benjamingr https://github.com/benjamingr
https://github.com/nodejs/node/pull/41309/files/eb49f16a666490bec49fe880ad3061bd8c5299f6
events https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aevents
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
semver-major https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Asemver-major
Please reload this pagehttps://github.com/nodejs/node/pull/41309
https://github.com/Farenheith
https://github.com/nodejs-github-bot
https://github.com/benjamingr
https://github.com/jasnell
https://github.com/apapirovski
https://github.com/BridgeAR
https://github.com/mcollina
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.