Skip to content

Commit

Permalink
avoid allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Dec 4, 2024
1 parent d19d26f commit 9d728bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl<T, B: BuildHasher + Default> Default for DequeSet<T, B> {
fn default() -> Self {
Self {
set: Default::default(),
queue: Default::default(),
queue: VecDeque::with_capacity(0),
}
}
}
Expand Down

0 comments on commit 9d728bb

Please sign in to comment.