[Libreoffice-bugs] [Bug 104332] Thesaurus in the Tools menu causes it to open slowly the first time

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 20 17:18:07 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=104332

László Németh <nemeth at numbertext.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |raimundo.smoura at gmail.com

--- Comment #25 from László Németh <nemeth at numbertext.org> ---
Lightproof uses lazy loading by using __import__ for the compiled rules, but
not for the extra Python codes defined in [code] parts of the grammar rule
file.
In fact, that I was intended for small extra functions, not a full Python
grammar checker, so I didn't optimize it. The good news, that the smaller file
is the problem here: :)

laci at nemeth:~/libreoffice/dictionaries/pt_BR/pythonpath$ ls -lS
-rw-rw-r-- 1 laci laci 4805925 nov   23  2017 lightproof_pt_BR.py
-rw-rw-r-- 1 laci laci 1491297 nov   23  2017 lightproof_impl_pt_BR.py

Thanks for your report and research. I will check it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180620/eff4e9f2/attachment.html>


More information about the Libreoffice-bugs mailing list