4 ms·
Unless he uses the same custom assembly except with an indirect call, it’s not a good comparison. We can’t be sure the increase in runtime is due to the indirec
by CyberRabbi 5y ago
Unless he uses the same custom assembly except with an indirect call, it’s not a good comparison. We can’t be sure the increase in runtime is due to the indirect call.
- Kranar 5y agoAll the details are right in the article as well as a link to a git repo so I'm not sure what there is to speculate about. If you have an issue with the actual benchmark you can certainly point it out, but otherwise you're basically asking us to restate the contents of the article when the article does a much better job of explaining these details.
- CyberRabbi 5y agoHmm I’m not sure you’re responding to what I’m saying. The C code is not an apples to apples comparison with the custom assembly when comparing the speed of an indirect call to a direct call. Do you deny that?
- Kranar 5y agoYes I do deny that, especially since the article literally addresses this issue explicitly and takes care to avoid that, along with a git repo that you can use to verify this for yourself. If you have a specific criticism to make then you should go ahead and point it out in a non-vague manner instead of speculating.
- CyberRabbi 5y ago> especially since the article literally addresses this issue explicitly and takes care to avoid that Can you cite where in the article it addresses the fact that the assembly snippet is not an apples to apples comparison with the C code? > If you have a specific criticism to make Pointing out that the assembly is not an apples to apples comparison with the C code is a specific criticism.