1. 14 Nov, 2014 4 commits
  2. 13 Nov, 2014 2 commits
    • Bram Schoenmakers's avatar
      Use a dictionary instead of a linear lookup by hash. · b92661a5
      Bram Schoenmakers authored
      Most of the time was spent in the todo_by_hash function which is
      not efficient enough for large todo files.
      b92661a5
    • Bram Schoenmakers's avatar
      Add function to add items in bulk. · 1c0a04eb
      Bram Schoenmakers authored
      This optimizes for large todo files (or large archive files). For each
      added todo item, _update_parent_cache was called N times, which in turn
      calls todo_by_hash which also does N iterations, where N is the number
      of todos added at that point. This doesn't scale with a couple of
      hundreds of todo items.
      
      Instead, introduce a list variant of add_todo which does the cache
      update only once.
      1c0a04eb
  3. 12 Nov, 2014 11 commits
  4. 11 Nov, 2014 1 commit
  5. 10 Nov, 2014 1 commit
  6. 08 Nov, 2014 17 commits
  7. 02 Nov, 2014 3 commits
  8. 01 Nov, 2014 1 commit
    • Bram Schoenmakers's avatar
      Print list of newly active todos after completing/deleting them. · 1f9e06e3
      Bram Schoenmakers authored
      Recurring todos deserved some attention, since the new instance
      after completing them pops up as a newly active task. This had to
      be surpressed to measure the length of the todolist, and only
      measure the new tasks within that range. Recurring tasks would be
      added beyond that cut-off point.
      1f9e06e3