4 ms·
The function call itself isn’t really the culprit (the cost of the function call itself is negligible in this case). It’s the implementation of the function [0]
by jay-barronville 2y ago
The function call itself isn’t really the culprit (the cost of the function call itself is negligible in this case). It’s the implementation of the function [0].
[0]: https://news.ycombinator.com/item?id=40542102 https://news.ycombinator.com/item?id=40542102