Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
events: optimize listener array cloning
This both switches to a single algorithm for array cloning and also speeds up (by ~100% in the ee-listeners-many benchmark) the "many elements" case that was previously handled by `array.slice()`. PR-URL: #1050 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Julian Duque <[email protected]>
- Loading branch information