3 ms·
> So it's 9 cycles vs what, one? I'm not sure what you're asking? What are you trying to compare?
by lapcat 4y ago
> So it's 9 cycles vs what, one?
I'm not sure what you're asking? What are you trying to compare?
- manmal 4y agoI’m comparing a message send with a statically linked function call (or inlining, as mentioned by sibling comment).
- lapcat 4y agoThis has the feel of premature optimization. These are the fastest operations. Their running time starts to get overwhelmed by the slower operations as you go down the list of things tested. Making the fastest operations a few times faster doesn't necessarily have any noticeable effect on your program.
- manmal 4y agoYou made me think, thanks for your input. I agree that it’s not a big or unsolvable problem.