mirror of https://github.com/qTox/qTox.git
Browse Source
Update docs to recommend using `%` operator with `QLatin1String` even for joining two strings (not only *more than two* strings). Mentioned optimisation of "lightweight" QLatin1String copying-and-converting-to-utf16 when appending only works with QStringBuilder (operator %). Otherwise, QLatin1String will be converted to QString, and only then copied (appended), which is slower.reviewable/pr4575/r3
1 changed files with 12 additions and 11 deletions
Loading…
Reference in new issue