Resolves: tdf#152014 When reusing interpreter context slot clear lookup cache
commitf86a0666ac337363b470c9c67fa0970a330b26a2
authorEike Rathke <erack@redhat.com>
Sat, 12 Nov 2022 20:12:18 +0000 (12 21:12 +0100)
committerEike Rathke <erack@redhat.com>
Sat, 12 Nov 2022 21:38:57 +0000 (12 22:38 +0100)
tree1fdc05ea0ff17fe706fa449d9e4dca60dc0474ff
parent755e6939adc9b8b1322f739c8143ae1a7e2995a3
Resolves: tdf#152014 When reusing interpreter context slot clear lookup cache

... if different doc

As is, unthreaded the same slot gets reused for every calculation.
That could benefit from keeping 2-3 documents cached to not throw
away the lookup cache each time when alternating between
documents.

Change-Id: Id024333f72bcdcd6109042dec1104f3029955d3b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142639
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
sc/source/core/tool/interpretercontext.cxx