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

Bertjan Broeksema b.broeksema at home.nl
Thu May 28 21:34:02 BST 2009


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

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/base/recordconduit.cc 974238 
  trunk/KDE/kdepim/kpilot/conduits/base/recordconduit.h 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