node-noop
node-noop copied to clipboard
Benchmark against () => {}
Some people argue that () => {}
is simpler. But in fact it's twice slower and it allocates memory, so contributes to GC pressure. See here: https://www.reddit.com/r/programming/comments/5si3aw/everything_that_is_wrong_with_the_node_ecosystem/ddfgye5/