News for hackers. Stuff that matters.
Re:TypeScript support for ES Next pipeline operator by _greim_ on Friday September 21, 2018 @04:58PM (#18042610)
I don't have any benchmarks so I won't speculate which is faster, but both these options create a new function object. The fact that one is done implicitly doesn't necessarily make it faster. I suspect performance will be highly engine- and version-specific, so best to choose the more idiomatic one (which I leave as an exercise for the reader to figure out).

There are no comments on this comment yet.