diff options
author | Eike Rathke <erack@redhat.com> | 2016-11-14 23:28:37 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-11-15 00:23:57 +0100 |
commit | bb50b1609abe83265311613db4a18e992dc666c8 (patch) | |
tree | 4be8864aca679d9140bd0031f67c323fdd0dbfaa /starmath/source | |
parent | 3ab31ae5db001021069f25257454b7dee78e6dba (diff) |
sc-perf: HasAttrChanged: save unnecessary calls to SfxItemPool::Get()
SfxItemPool::GetItemState() can already return a pointer to a set item so that
doesn't need to be obtained again through SfxItemPool::Get()
tdf#103493 'LotroPlan 3.8.ods'
https://bugs.documentfoundation.org/attachment.cgi?id=128252
Incl. Self Called
Before:
10,210,820,257 1,162,295,513 34,670,201
After:
9,887,701,235 1,384,985,151 34,670,201
Only ~3% and 0.5% of the overall load time, but..
Change-Id: Icbed8a7982a27472fdfb1dbe4fd2061ab1e601bd
Diffstat (limited to 'starmath/source')
0 files changed, 0 insertions, 0 deletions