4 ms·
nim is faster at calling c routines than c? That seems interesting... But probably the measurement errors are larger than 1%?
by michaf 10y ago
nim is faster at calling c routines than c? That seems interesting... But probably the measurement errors are larger than 1%?
- dyu- 10y agoThey're basically the same (its just a measurement error as you said). Afterall, nim generates c files. What's interesting is the nrvo optimizations that nim generates under the hood without much effort from the developer (on non-trivial codebases).