Skip to content

Commit

Permalink
Use a small map capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Jan 26, 2024
1 parent 8d2895f commit b5b6055
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -101,7 +101,7 @@ public void submit(Action<S> action) {
} else {
Map<CombinerExecutor<S>, Task> map = inProgress.others;
if (map == null) {
map = inProgress.others = new HashMap<>();
map = inProgress.others = new HashMap<>(1);
}
Task task = map.get(this);
if (task == null) {
Expand Down

0 comments on commit b5b6055

Please sign in to comment.