4 ms·
The article linked is doing much more than benchmarking string operations. I'd even argue that string allocations are about as minimal as possible with the algo
by totalperspectiv 6y ago
The article linked is doing much more than benchmarking string operations. I'd even argue that string allocations are about as minimal as possible with the algorithms used. The C version takes this a little farther, but each of the other implementations are pretty similar.
I don't disagree that benchmarks should be taken with a mound of salt though.