23 ms·
This is not only important for string comparisons. I think in general if you have a loop that needs to run really fast you should avoid calling functions inside
by robalni 6y ago
This is not only important for string comparisons.
I think in general if you have a loop that needs to run really fast
you should avoid calling functions inside that loop that might not get inlined,
like the standard library functions.