-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of
taskdb::apply_operations
(#533)
The existing implementation performed a `txn.get_task` and `txn.set_task` for each update operation. But typically, a sequence of operations will all apply to the same task, so most of these calls are redundant. This introduces a small cache of tasks to which some update operations have been applied (or which are known to not exist), avoiding the redundant calls.
- Loading branch information
Showing
1 changed file
with
169 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters