From b1df9c67349cf4cc5be4128d797aefb87f50e38f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 16 Jul 2021 14:48:25 +0200 Subject: [API CHANGE] reduce cost of numeric conversion on a hot path, since we already know the length of these strings. Which requires adding some new variants of our string conversion functions Change-Id: I1877f8f3c72934c07f14eec7e73bbe8d7b0f1808 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119065 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- sal/util/sal.map | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sal/util') diff --git a/sal/util/sal.map b/sal/util/sal.map index 49efb2a436cd..e2339bdc13ac 100644 --- a/sal/util/sal.map +++ b/sal/util/sal.map @@ -755,6 +755,12 @@ PRIVATE_1.7 { # LibreOffice 7.1 rtl_uString_newReplaceAllFromIndexUtf16LUtf16L; } PRIVATE_1.5; +PRIVATE_1.8 { # LibreOffice 7.3 + global: + rtl_str_toInt32_WithLength; + rtl_str_toDouble_WithLength; +} PRIVATE_1.7; + PRIVATE_textenc.1 { # LibreOffice 3.6 global: _ZN3sal6detail7textenc20convertCharToUnicode*; -- cgit