summaryrefslogtreecommitdiff
path: root/package/inc/ZipOutputEntry.hxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-10-03 23:12:56 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-10-23 14:30:29 +0200
commit0c24faee6b622971d7d8f989da36029200cbd2a5 (patch)
treebe33db223c5beba6aee04b58207cde009934b6c3 /package/inc/ZipOutputEntry.hxx
parent143bbb20a3f4d757e2493fc078deea7dbaa1e14f (diff)
FastSerializer: Also use cache for writing to ForMerge if we are inside mark()
To ensure the correct order of calling ForMerge methods, call flush always before touching maMarkStack. This was the missing piece in optimizing write() methods, because of writeBytes() checking each time what to call. E.g. for Calc documents we don't use maMarkStack at all. So, just transfer the output to proper "ForMerge" when inside mark() and allow optimizations. This commit makes write() methods almost 1/3 as fast. Change-Id: I96c13888206c81f87e29b998839f78ea9d5570af
Diffstat (limited to 'package/inc/ZipOutputEntry.hxx')
0 files changed, 0 insertions, 0 deletions