kynikos / outspline

Extensible outliner and personal time organizer to manage todo lists, schedule tasks, remind events.
http://kynikos.github.io/outspline/
GNU General Public License v3.0
47 stars 9 forks source link

Except regularly computation can hog application #329

Open kynikos opened 10 years ago

kynikos commented 10 years ago

When an except regularly rule is computed, it can take a long time to complete if the search range is wide and the interval is short, which can happen e.g. when searching for old alarms on databases that haven't been opened for months or years; in this case it wouldn't even be possible to abort the search because the aborting function acts on the search (outer) loop, not on the specific rule (inner) loop, thus hanging the application for as long as the rule computation lasts. Note that however this process is safe, it just can take a long time to complete in extreme cases.