You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for elt in new_ws.drain(1..new_ws.len()).flatten(){
txn.add_to_working_set(elt)?;
}
This is pretty slow, and in most cases only a few tasks will change numbers. Optimize for that case, by only updating the items that have changed. This should allow removing the Storage::clear_working_set method as well.
The text was updated successfully, but these errors were encountered:
When renumbering tasks, we delete and re-add the entire working set:
taskchampion/taskchampion/src/taskdb/working_set.rs
Lines 38 to 42 in e725a38
This is pretty slow, and in most cases only a few tasks will change numbers. Optimize for that case, by only updating the items that have changed. This should allow removing the
Storage::clear_working_set
method as well.The text was updated successfully, but these errors were encountered: