Kaydet (Commit) 105edc74 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Gerrit Code Review

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/56176Reviewed-by: 's avatarLászló Németh <nemeth@numbertext.org>
Tested-by: 's avatarTor Lillqvist <tml@collabora.com>
üst 4fd46c90
dictionaries @ 2d8dd0af
Subproject commit 6c85a19c887b6147ec7d3a600b51cb2a44284fa2
Subproject commit 2d8dd0af877de8494ca9c2c027eba4a42bbc09eb
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment