summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-20 09:41:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-20 10:51:12 +0200
commitea4f3099d6e0cf30d80caa8b2121c7a358f80fdd (patch)
treefaa57b53de6b36eecca1608c8e9fa149f134ad22 /m4
parentdb123abade41a54d34add4fae46b769cd863de7f (diff)
tdf#109158 improve load time of autocorrect XML file
Before, it seems to be doing a lot of unnecessary work because, by default, startFastElement will call startUnknownElement, which constructs various objects, etc. It seems to me that if the class already implements createFastChildContext, it is already using XFastParser, and so it should implement startFastElement to avoid that work. By avoiding going down the startUnknownElement path, reduces load time from 1.7s to 1.4s Change-Id: Ifd745cf2cc22a8cb988a5668332cf6e70bb996da Reviewed-on: https://gerrit.libreoffice.org/79269 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions