diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-06-20 20:11:55 +0300 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.libreoffice.org> | 2018-06-20 20:51:08 +0200 |
commit | 105edc7453624bf06755911fdd49258a5837ff3c (patch) | |
tree | 3e4792394155021d6c1868c1d697155fcd774c49 | |
parent | 4fd46c905f1bd45bd55e25fcf3d472c5bf8e5ded (diff) |
Updated core
Project: dictionaries 2d8dd0af877de8494ca9c2c027eba4a42bbc09eb
tdf#104332 (and others): Speed up Lightproof initialisation
Delay import of the the heavy lightproof_impl_pt_BR to when actually
needed. Shaves several hundred milliseconds (on my machine, about 300
ms) from the time needed to just get a list of what grammars checkers
are available. It's silly to load the heavy pt-BR impl module even if
no Brazilian Portuguese proof reading is being performed.
Sure, the same change could be done to the other Lightproof
dictionaries, too, but they are much smaller, so importing them
unconditionally always does not hurt so much.
Change-Id: I3c3f64e80bd9519f188905abda7c25337c81462d
Reviewed-on: https://gerrit.libreoffice.org/56176
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: Tor Lillqvist <tml@collabora.com>
m--------- | dictionaries | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/dictionaries b/dictionaries -Subproject 6c85a19c887b6147ec7d3a600b51cb2a44284fa +Subproject 2d8dd0af877de8494ca9c2c027eba4a42bbc09e |