Skip to content

Simplify and moderately accelerate IncidenceOccurrenceModel's updateFromSource()

Claudio Cambra requested to merge work/optimisation into master

Instead of looping through two different arrays to get events, todos, and then recurring incidences, we can just use OccurrenceIterator to handle everything. This makes the function significantly simpler and, from my testing, a bit faster.

Merge request reports

Loading