Skip to content

Conversation

@cesco69
Copy link
Contributor

@cesco69 cesco69 commented Dec 16, 2025

this._idle.slice().map( ... ) create a new array and new anonymous function every time

@cesco69 cesco69 marked this pull request as ready for review December 16, 2025 10:38
Copy link
Collaborator

@charmander charmander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This calls end/emits removes in a different order, which is probably fine – but it’s also a real microoptimization, especially compared to some of the other stuff the pool does…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants