diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-07-21 14:35:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-07-22 11:29:32 +0200 |
commit | c3e8dbc139c3b1644ea07101a8c1111572ffa017 (patch) | |
tree | 0c7bc8971c9093308c887c163a0bda4c4a19c92c /include/svl/stylepool.hxx | |
parent | 3133788fb5b8598ae275c566a9f55f88a668abf3 (diff) |
Improve the perf for pool item scanning..
for large complex documents with lots of shapes.
When that happens, we spend a lot of time scanning the std::unordered_set inside DefaultItemInstanceManager.
Since most of our items are already capable of being hashed, and thus avoiding the scanning cost, make it so we can use the HashableItemInstanceManager most of the time.
Change-Id: I43f4c04e956d316c976bea67d1941529d2d91182
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170813
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Tested-by: Armin Le Grand <Armin.Le.Grand@me.com>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl/stylepool.hxx')
0 files changed, 0 insertions, 0 deletions