Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-12-20 02:04:35 +0300
committerBen Noordhuis <info@bnoordhuis.nl>2014-12-20 04:39:42 +0300
commitd3f8db124463e478420d8bba6fa5cf13af7b4ecb (patch)
tree70d67ca22134ce144bba0e3d591f79020b9e5f01 /benchmark/url
parentd0c238cc81a7bc4d67453ae2952d7d9368069f89 (diff)
lib: micro-optimize EventEmitter#removeListener()
Replace the call to Array#splice() with a faster open-coded version that creates less garbage. Add a new benchmark to prove it. With the change applied, it scores a whopping 40% higher. PR-URL: https://github.com/iojs/io.js/pull/185 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Diffstat (limited to 'benchmark/url')
0 files changed, 0 insertions, 0 deletions