7 Feb
2023
7 Feb
'23
9:44 a.m.
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.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2091#note_23220