diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-02-26 11:16:16 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-02-26 19:55:19 +0100 |
commit | d2fea40762d5d9ee918edcb4ff281e362df92c5d (patch) | |
tree | 011fd2d7afae5d7d23901ce5c9241ce500b655cf /vcl/source | |
parent | dcf98b570fc33bc9ee3bdf5591c6cc92cfbf3aa1 (diff) |
optimize ScColumns::HasCellNotes()
This probably doesn't matter much for optimized code, but in dbgutil
builds this avoids all the libstdc++ iterators mutex locking (WTH
does libstdc++ debug mode need to lock anything?). It's functionally
equivalent (similarly to ScColumn::IsEmptyData(), and the container
can contain only notes or empty elements), and cuts run time of e.g.
sc_uicalc test to about a half.
Change-Id: Ibb2bd8be522de889a8a06cbb7a4f880c9b065c71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130604
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/source')
0 files changed, 0 insertions, 0 deletions