[Chandler-dev] Pre-loading items as a performance optimization
Jeffrey Harris
jeffrey at osafoundation.org
Wed Oct 4 14:05:18 PDT 2006
Hi Grant,
> Along these lines, BTW, it seems that there are gains to be had by
> removing the loading of items from the mEnd() and mStart() functions in
> Calendar.py. I'm testing changes that do this, and these do improve
> things a lot (0.59s to 0.22s for PerfLargeDataJumpWeek in the
> measurement I did).
Cool.
> I'm also curious as to why we are inserting keys into indexes when
> generating occurrences. As far as I know, those objects shouldn't appear
> in any collections with indexes.
I believe that occurrences appear in itemsWithReminders, and that's
indexed by reminderTime.
Sincerely,
Jeffrey
More information about the chandler-dev
mailing list