You can use std::string which as small string optimization instead of QByteArray too. In many cases where you would use const String &foo you can use std::string_view, so you are more flexible.
________________________________ From: Development <[email protected]> on behalf of Allan Sandfeld Jensen <[email protected]> Sent: Tuesday, January 15, 2019 10:44:45 PM To: [email protected] Subject: Re: [Development] Qt6: Adding UTF-8 storage support to QString On Dienstag, 15. Januar 2019 19:43:57 CET Cristian Adam wrote: > Hi, > > With every Qt release we see how the new release improved over previous > releases in terms of speed, memory consumption, etc. > > Any chance of having UTF-8 storage support for QString? > Use QByteArray when you can. Regards 'Allan _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
_______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
