3 ms·
I think that this observation is not as relevant to the task at hand that it seems. The author is in the same position as the implementor of a VM, who has to de
by astrobe_ 12y ago
I think that this observation is not as relevant to the task at hand that it seems. The author is in the same position as the implementor of a VM, who has to decide which operation will be a primitive and which will not be.
What is actually more important than anything else if you care about performance is which operations are likely to be called from hot loops. It's classic optimization wisdom except that you can only work on expected scenarios rather than real-world uses (until you release your stuff and other people use it).
So a 100x slower abstraction is ok(-ish) as long as it's not somthing to be used in performance critical sections.
- haberman 12y agoYour comment amounts to: "this performance-related observation doesn't apply in situations where performance is not an issue." Yes, but I am working in a situation where performance is an issue. So yes, the observation is relevant to the task at hand.