diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-05-26 12:29:37 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-05-26 15:55:53 +0200 |
commit | ef4964a4e598c3c9714cdc18ffa40bcb120dbef6 (patch) | |
tree | 9646b70a5b4d90977e0e14a2ce6639de9011cfff /tools | |
parent | 3a93748c9c4faadeb9ab4eb21706d187677549fa (diff) |
reduce dynamic_cast usage in an O(N^2) algorithm
When scrolling down in tdf#130431 this is the major CPU cost.
Move the dynamic_cast out of the loops as much as possible.
Change-Id: I0ea9f457bb17fbdde880f09b059f07dec4b1790b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94858
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions