On Tue Feb 7 09:43:23 2023 +0000, Bernhard Kölbl wrote:
I had the same thought, but didn't do it as `strlen` on `const char *` should be resolved by the compiler.
Maybe, but doing it yourself makes it obvious and doesn't have much cost. If you think about `-O0` compilation for instance, it's likely that the compiler would not do the optimization in that case and make things even slower.