dfaure added a comment.
Has this been measured to actually reduce the number of string allocations? (e.g. using heaptrack)? If so, I'm fine with it. If a public API is needed, then indeed that will have different considerations -- it might want to them wrap the internal QStringRef-based function. REPOSITORY R249 KI18n REVISION DETAIL https://phabricator.kde.org/D14504 To: apol, #frameworks, ilic Cc: dfaure, pino, kde-frameworks-devel, michaelh, ngraham, bruns