diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-06-26 08:48:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-06-26 12:00:15 +0200 |
commit | b0e0ba28dcb69b6d042107f24c961b444eb6793e (patch) | |
tree | 964e18e0796f2019165cf3d81a6cf3466752bd81 /emfio | |
parent | da527cd45b9676c9d1d8eb171ecbe55e8b8f9031 (diff) |
optimize SvtBroadcaster::Normalize() even a bit more (tdf#132454)
Optimize also maDestructedListeners (often just one item). Optimize
also small vectors if there's just one item unsorted. Keep the index
of the first unsorted item in maListeners, so that it's cheap
to find out where the unsorted part starts.
This now improves tdf#132454 to 20s.
Change-Id: I21a69b440c27a2e31e74fd13b9263f54af12e320
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97198
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'emfio')
0 files changed, 0 insertions, 0 deletions