Re: 10.000 events in a Resource Calendar

Aleksander Machniak <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <4FB889DF.6060305__18638.9646064073$1337494009$gmane$org@kolabsys.com>
On 05/19/2012 01:10 PM, Jeroen van Meeuwen (Kolab Systems) wrote:

> To that end, I was wondering if there's a way to do this more
> efficiently than;
> 
> 1) Obtain *all* event objects,
> 2) Parsing *all* of them one by one,
> 3) Until I find a conflict or run out of events.

Two ideas:

1. Get objects in chunks starting from the newest. This would at least
improve memory consumption and will be faster in case when there's a
conflict.
2. Store event dates in X-Kolab header of the message and FETCH this
data only. For recurring events we would need more data in headers.

-- 
Aleksander Machniak
Software Developer
Kolab Systems AG: http://kolabsys.com
PGP: 19359DC1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.