[Kde-pim] Review Request 126867: Speed up the default Identity() constructor.
Allen Winter
winter at kde.org
Mon Jan 25 15:58:03 GMT 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126867/#review91584
-----------------------------------------------------------
Ship it!
I tested locally. does seem to help speed-up a bit. Still not fast, but better.
- Allen Winter
On Jan. 24, 2016, 10 a.m., David Faure wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126867/
> -----------------------------------------------------------
>
> (Updated Jan. 24, 2016, 10 a.m.)
>
>
> Review request for KDEPIM-Libraries and Laurent Montel.
>
>
> Repository: kdepimlibs
>
>
> Description
> -------
>
> Sonnet::defaultLanguageName() is very slow (it parses 3 config files).
> Sonnet is fixed in KF5, well, that method is gone and the call in identity.cpp
> is commented out, but at least Sonnet has the default dict in a member var...
>
> Testcase: opening a mail with an invitation took a very very long time before
> rendering the invitation. Now it only takes a long time (ICAL parsing).
>
>
> Diffs
> -----
>
> kpimidentities/identity.cpp f644c7a225c1975a14b979db242bd25cdf0cb7b2
>
> Diff: https://git.reviewboard.kde.org/r/126867/diff/
>
>
> Testing
> -------
>
> Opening an invitation email in kmail, and Ctrl+C in gdb to see what it's doing.
>
> I did not test the handling of dictionaries in identities though.
>
>
> Thanks,
>
> David Faure
>
>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list