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 <development-boun...@qt-project.org> on behalf of Allan 
Sandfeld Jensen <k...@carewolf.com>
Sent: Tuesday, January 15, 2019 10:44:45 PM
To: development@qt-project.org
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
Development@qt-project.org
https://lists.qt-project.org/listinfo/development
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to