diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-05 12:33:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-08 11:48:05 +0200 |
commit | a2193f8f33565cc896592acb9d3ab65c756d97fb (patch) | |
tree | f5b8fe7cfe1710b452794dede14451ad5f9abe6e /odk | |
parent | 8164399df0df976784ddc1a76b46939c53ae51ee (diff) |
tdf#79878 perf loading docx file, sax improvements
these are the smaller improvements, they make about 5% worth of
difference
- use std::vector instead of std::deque
- use std::move on pendingCharacters instead of copying
- in FastAttributeList::add, when reallocate the buffer, allocate twice
the existing size, instead of increasing to only what we need
- in FastAttributeList, create getAttributeIndex and friends, so
we can avoid iterating the attribute list more often than necessary
Change-Id: I3e3380ea50b77c6845b66e83404e245778ec06eb
Reviewed-on: https://gerrit.libreoffice.org/57021
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'odk')
0 files changed, 0 insertions, 0 deletions