logoalt Hacker News

bombelatoday at 4:51 PM1 replyview on HN

I think this long post is saying that if you are afraid that moving code behind a function call will slow it down, you can look at the machine code and run a benchmark to convince yourself that it is fine?


Replies

layer8today at 5:38 PM

I think it’s making a case that normally you shouldn’t even bother benchmarking it, unless you know that it’s in a critical hot path.

show 1 reply