summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2018-06-19 12:16:38 +0200
committerLuboš Luňák <l.lunak@collabora.com>2018-06-22 08:58:09 +0200
commit8a66650dccb94b6e79a345a383f6a7f955bfa600 (patch)
treec33fb604779ec23827ab1e27b91168d07c013564 /framework/source
parentbaf2c3216d4276840526726b9cdb7d5158f22708 (diff)
discard cached cell values if the cell changes
FormulaGroupContext is actually a cache of cell results for OpenCL, but the cached values are not always properly discarded. Happens e.g. with testFormulaDepTracking in sc_ucalc fails if OpenCL is forced for it (i.e. with mnOpenCLMinimumFormulaGroupSize disabled), because a SetString() call for a cell doesn't invalidate the cache. This obviously reduces the cache hit rate a bit, but according to my tests it's not that bad (in fact the cache doesn't seem to get used that often, so I even wonder if it's worth it). Change-Id: Ia7ef2214956861d26ca3a42b84f9fecbff8316d0 Reviewed-on: https://gerrit.libreoffice.org/56087 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 954403938f00645d92520efc4433c440a133c0b9) Reviewed-on: https://gerrit.libreoffice.org/56221 Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'framework/source')
0 files changed, 0 insertions, 0 deletions