ad1557f5d7
...compared to a full-blown O[U]String, for temporary objects holding an O[U]StringConcat result that can then be used as a std::[u16]string_view. It's instructive to see how some invocations of operator ==, operator !=, and O[U]StringBuffer::insert with an O[U]StringConcat argument required implicit materialization of an O[U]String temporary, and how that expensive operation has now been made explicit with the explicit O[U]StringConcatenation ctor. (The additional operator == and operator != overloads are necessary because the overloads taking two std::[u16]string_view parameters wouldn't even be found here with ADL. And the OUString-related ones would cause ambiguities in at least sal/qa/rtl/strings/test_oustring_stringliterals.cxx built with RTL_STRING_UNITTEST, so have simply been disabled for that special test-code case.) Change-Id: Id29799fa8da21a09ff9794cbc7cc9b366e6803b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122890 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> |
||
---|---|---|
.. | ||
inc | ||
qa/zip | ||
source | ||
AllLangMoTarget_shell.mk | ||
CppunitTest_shell_zip.mk | ||
CustomTarget_shlxthdl_res.mk | ||
CustomTarget_spsupp_idl.mk | ||
CustomTarget_x64.mk | ||
Executable_lngconvex.mk | ||
Executable_regsvrex.mk | ||
Executable_senddoc.mk | ||
Executable_spsupp_helper.mk | ||
Executable_uri_encode.mk | ||
IwyuFilter_shell.yaml | ||
Library_cmdmail.mk | ||
Library_desktopbe.mk | ||
Library_kf5be.mk | ||
Library_localebe.mk | ||
Library_losessioninstall.mk | ||
Library_macbe.mk | ||
Library_ooofilt.mk | ||
Library_ooofilt_x64.mk | ||
Library_propertyhdl.mk | ||
Library_propertyhdl_x64.mk | ||
Library_shlxthdl.mk | ||
Library_shlxthdl_x64.mk | ||
Library_smplmail.mk | ||
Library_spsupp_x64.mk | ||
Library_spsupp_x86.mk | ||
Library_syssh.mk | ||
Library_wininetbe.mk | ||
Makefile | ||
Module_shell.mk | ||
Package_senddoc.mk | ||
README.md | ||
StaticLibrary_shlxthandler_common.mk | ||
StaticLibrary_shlxthandler_common_x64.mk | ||
StaticLibrary_xmlparser.mk | ||
StaticLibrary_xmlparser_x64.mk | ||
WinResTarget_shlxthdl.mk | ||
WinResTarget_spsupp.mk | ||
WinResTarget_spsupp_dlg.mk |
System Helpers
Launching URI, system integration, external mailer support etc.