Re:Performance comparison: counting words in Python, C/C++, ...
by olalonde on Sunday July 24, 2022 @03:51PM
(#32217011)
> * It uses byte strings instead of UTF-8 strings. In my opinion, that’s not an optimization, that’s changing the problem. Depending on the question you’re asking, only one of the two can be correct.
To be fair, that's what the C version does as well.
To be fair, that's what the C version does as well.