diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-11-23 20:48:02 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-11-25 14:26:42 +0100 |
commit | 1d0cdc461c43f0ce0eda4961311a972edf9e78e2 (patch) | |
tree | 44612f305f6544a71bf6d3bba2ce1ef526b2f18b /formula | |
parent | 02f3157f75b654ef7648efdc3004b3f326d5af40 (diff) |
try to search efficiently with a query with many items (tdf#133867)
Autofilter with large documents can create queries that have thousands
of items. Searching all of those for every cell using the generic
algorithm can be quite slow. First try an optimized search for this
case that skips most of the complications and just tries to find
in the query items an exact match for the cell. This significantly
speeds up tdf#133867 or attachment from comment #2 in tdf#136838.
Change-Id: I2bba18da6a101c76398d8c42c4306c53682899c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125746
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'formula')
0 files changed, 0 insertions, 0 deletions