On Tue, 2009-07-28 at 14:26 +0100, Beat Forster wrote:
> The only difference is mainly reading the sync 
> set (which must be done for all two-way-syncs 
> anyway). The performance difference is huge, if 
> you have just one command to delete all elements, 
> which is e.g. the case for our iPhone client.
> But I'm not even sure if this command would 
> return the number of deleted elements.

This is the case I was worried about: "delete all" is fast *and* can
return the number of items. I don't think that this is unrealistic.
Don't SQL databases with one row per item fall into this category?

Anyway, currently in SyncEvolution the performance difference isn't that
large, so let's focus on the other aspect: the statistics are not
incremented even if the engine does the deleting one-by-one. Is this
something that can or should be changed?

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to