On Tue, Dec 20, 2011 at 3:54 PM, Harald Fernengel <[email protected]> wrote: > I thought about optimizing ::fromUtf8, but since we need to iterate character > by character to convert the char* to utf16, the length of the string should be > rather irrelevant?
having the length would at least allow you to semi-sensibly reserve() a size that's at least close to what the utf16 size would be, though, wouldn't it? _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
