[os-libsynthesis] temporary local ID + FinalizeLocalID

2013-06-03 Thread Patrick Ohly
Hello! I'm trying to batch local database adds together to increase performance in SyncEvolution (https://bugs.freedesktop.org/show_bug.cgi?id=52669 and https://bugs.freedesktop.org/show_bug.cgi?id=64838#c5). My hope was that I can postpone the actual modification and return a temporary local ID.

Re: [os-libsynthesis] temporary local ID + FinalizeLocalID

2013-06-03 Thread Patrick Ohly
On Mo, 2013-06-03 at 15:12 +0200, Patrick Ohly wrote: > Hello! > > I'm trying to batch local database adds together to increase performance > in SyncEvolution (https://bugs.freedesktop.org/show_bug.cgi?id=52669 and > https://bugs.freedesktop.org/show_bug.cgi?id=64838#c5). > > My hope was that I c

Re: [os-libsynthesis] temporary local ID + FinalizeLocalID

2013-06-03 Thread Lukas Zeller
Hello Patrick, FinalizeLocalID came into existence as a workaround for the iOS client datastores, in particular the address book which did not generate proper IDs until a very expensive "save all" method was called. I tried to implement it as generically as possible, but avoiding any extra risk