• Bram Schoenmakers's avatar
    Look up parent todo items more efficiently · 2365e99d
    Bram Schoenmakers authored
    todo_by_dep_id was quite inefficient due to the linear search, calling
    Todo.tag_value() many times to fetch the dependency ID.
    
    Instead, maintain a dictionary that maps a parent ID to a todo item so
    it can be looked up more easily.
    2365e99d
test_todo_list.py 15.2 KB