[Kde-pim] Review Request 108549: Delay akonadi and nepomuk lookups to compress them.

David Faure faure at kde.org
Tue Jan 22 15:29:13 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108549/#review25987
-----------------------------------------------------------



libkdepim/addresseelineedit.cpp
<http://git.reviewboard.kde.org/r/108549/#comment19827>

    Are you sure you want to *re*start the timer every time? That means, if you type fast, you need to wait 500ms after the last key, for the search to actually start.
    
    The alternative would be to not restart the timer if already running. Then after 500ms, it would grab whatever the user typed meanwhile and search that. Better reactivity, but still with the assurance that there's at least 500ms between searches.
    
    If you tested that it's better this way, feel free to ignore my idea though, I didn't test it :)


- David Faure


On Jan. 22, 2013, 2:48 p.m., Till Adam wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108549/
> -----------------------------------------------------------
> 
> (Updated Jan. 22, 2013, 2:48 p.m.)
> 
> 
> Review request for KDEPIM, David Faure and Tobias Koenig.
> 
> 
> Description
> -------
> 
> Delay akonadi and nepomuk lookups to compress them.
> 
> Introduce a per-addresseelineedit timer that delays completion
> lookups via both akonadi and nepomuk directly by 500ms, so they
> can be compressed. This avoids running too many queries when one types
> quickly into an addresseelineedit, which helps with performance.
> 
> 
> Diffs
> -----
> 
>   libkdepim/addresseelineedit.h a195d855704d78bbd4cfdb20807802c49655846c 
>   libkdepim/addresseelineedit.cpp 188470a8c1d1d78422917f39dc03f40e346cc7ef 
> 
> Diff: http://git.reviewboard.kde.org/r/108549/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Till Adam
> 
>

_______________________________________________
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