4 ms·
Good analysis. Interestingly, when I try to duplicate your results, the class implementation takes twice as long as the closure implementation (10 seconds vs 5
by atomopawn 9y ago
Good analysis. Interestingly, when I try to duplicate your results, the class implementation takes twice as long as the closure implementation (10 seconds vs 5). I'm using v4.2.6 of node, though. Clearly v6 makes a big difference.