Re:Node v6.9.0 (LTS)
by JaRail on Wednesday October 19, 2016 @03:11AM
(#12741720)
As a general answer, doing something simple in pure JS can be more efficient than the overhead associated with making a native call from JS. The costs are going to vary depending on how the JIT handles things. That's probably the best general reason though as to how it's possible.
[ Parent
| on HN ]