[Kde-pim] Review Request: Proposal to speed up first sync

Bertjan Broeksema b.broeksema at home.nl
Sat May 30 11:06:30 BST 2009


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



trunk/KDE/kdepim/kpilot/conduits/base/recordconduit.h
<http://reviewboard.kde.org/r/776/#comment769>

    Doesn't differ, and I also don't understand why I ever choose a stringlist for that. Kept the name and changed it from StringList to QSet<QString>


- Bertjan


On 2009-05-29 02:42:08, Bertjan Broeksema wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/776/
> -----------------------------------------------------------
> 
> (Updated 2009-05-29 02:42:08)
> 
> 
> Review request for KDE PIM, Douglas Harms and Jason Kasper.
> 
> 
> Summary
> -------
> 
> Use a QSet during first sync to reduce the amount of time for looking up
> matches. Each time a match is found the id of the matched pc record is added to
> the set.
> 
> The next time findMatch is called the it will again iterate over all pcrecords
> but if the pcrecord id is in the set allready the equal method will not be called.
> 
> I did not test it yet, this patch is just to show the idea.
> 
> 
> Diffs
> -----
> 
>   trunk/KDE/kdepim/kpilot/conduits/todo/todohhrecord.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/todo/todoakonadirecord.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/todo/todoakonadirecord.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/keyringconduit/keyringhhrecord.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/keyringconduit/keyringhhrecord.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/contacts/contactshhrecord.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/tests/testrecord.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/tests/testrecordconduit.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/calendar/calendarakonadirecord.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/calendar/calendarakonadirecord.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/calendar/calendarhhrecord.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/calendar/calendarhhrecord.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/contacts/contactsakonadirecord.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/contacts/contactsakonadirecord.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/contacts/contactshhrecord.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/tests/rcfirstsynctest.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/tests/testdataproxy.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/tests/testdataproxy.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/tests/testhhdataproxy.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/tests/testhhdataproxy.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/tests/testhhrecord.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/tests/testhhrecord.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/tests/testrecord.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/recordconduit.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/recordconduit.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/record.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/hhdataproxy.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/dataproxy.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/base/dataproxy.h 974238 
>   trunk/KDE/kdepim/kpilot/conduits/akonadibase/akonadidataproxy.cc 974238 
>   trunk/KDE/kdepim/kpilot/conduits/todo/todohhrecord.cc 974238 
> 
> Diff: http://reviewboard.kde.org/r/776/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bertjan
> 
>

_______________________________________________
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