diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-03-06 19:24:37 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-03-23 09:09:08 +0100 |
commit | 74cf42c522e59397bb725d35c682364de032cb99 (patch) | |
tree | a4770e553ee04d6881807cc568ef27820e68f1d7 /include/xmloff/numehelp.hxx | |
parent | 4cb50c1081aa3f4686da8a35ca1159de7bcb750b (diff) |
faster bulk insert into o3tl::sorted_vector (tdf#117366)
Repeated insert() into o3tl::sorted_vector can turn out to be
pathological, repeatedly moving most items aside for each
element inserted. Make it possible to insert a normal vector
that's been pre-sorted and made unique. 31s->9s for loading
tdf#117366.
Change-Id: If3a0366dd240ad46c23f5f3dc04e781b8c4b2aa2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131085
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include/xmloff/numehelp.hxx')
0 files changed, 0 insertions, 0 deletions