Skip to content

Commit

Permalink
avoid allocating on AggregationUpdateQueue::new
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Feb 14, 2025
1 parent ea01229 commit 4d60830
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ impl AggregationUpdateQueue {
/// Creates a new empty queue.
pub fn new() -> Self {
Self {
jobs: VecDeque::with_capacity(8),
jobs: VecDeque::with_capacity(0),
number_updates: FxIndexMap::default(),
done_number_updates: FxHashMap::default(),
find_and_schedule: DequeSet::default(),
Expand Down

0 comments on commit 4d60830

Please sign in to comment.