Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/intern/src/intern.rs')
-rw-r--r--crates/intern/src/intern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/intern/src/intern.rs b/crates/intern/src/intern.rs
index b7acd6624b..a96dfcfa9f 100644
--- a/crates/intern/src/intern.rs
+++ b/crates/intern/src/intern.rs
@@ -334,7 +334,7 @@ impl<T: ?Sized> InternStorage<T> {
impl<T: Internable + ?Sized> InternStorage<T> {
pub(crate) fn get(&self) -> &InternMap<T> {
- self.map.get_or_init(DashMap::default)
+ self.map.get_or_init(|| DashMap::with_capacity_and_hasher(1024, Default::default()))
}
}