Two small examples of why using the right #Qt string APIs matters: https://volkerkrause.eu/2023/09/09/qt-string-bloat.html #KDE
As this caused some interest (and a few misunderstandings) here is a bit more background, more examples and some notes on tooling: https://volkerkrause.eu/2023/09/15/qt-string-bloat-addendum.html
@VolkerKrause That's an impressive size reduction! I was just refactoring some Qt JSON last week, and was wondering about the differences between the overloads. The missing inline for constexpr latin1 is also a great tip
@VolkerKrause IMHO Qt would've been better if QString was based on UTF8 and not UTF16.