Closed robgolding closed 4 years ago
This improves the runtime of your benchmarking script quite a bit @thomasrebele!
loop1 time: 0.0264739990234375 tasks: 41
loop2 time: 0.040281057357788086 tasks: 41
The performance is much better with the cache. Thanks for the improvement!
This allows a faster lookup of tasks by ID, avoiding the need to re-query taskwarrior for the same data.
Fixes https://github.com/robgolding/tasklib/issues/70