Closed Bug 685881 Opened 13 years ago Closed 5 years ago

Use generators to relieve item retrieval

Categories

(Calendar :: Internal Components, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Fallen, Unassigned)

Details

(Keywords: perf)

In the storage and google calendar provider, we use a loop to go through the items. Since we removed the call to processPendingEvents (crashes and such), the loop is never relieved which can cause a performance loss.

Last month I have been working on a solution that uses generators and the thread manager to resubmit jobs after a certain number of items have been reached. Using this bug to track progress.
Keywords: perf
Do you have a WIP patch?
Flags: needinfo?(philipp)
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(philipp)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.