2 ms·
Yes. In JS it is best to avoid FP principles such as immutability in hot code paths, the extra allocations and GCs are not worth the cleanliness.
by eurasiantiger 5y ago
Yes. In JS it is best to avoid FP principles such as immutability in hot code paths, the extra allocations and GCs are not worth the cleanliness.