From 64c8d8262cdfda8aae0cc9a51e4466b031b8c216 Mon Sep 17 00:00:00 2001 From: Praveen Perera Date: Sat, 1 Feb 2025 16:04:42 -0600 Subject: [PATCH] With capacity --- rustywind-core/src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rustywind-core/src/app.rs b/rustywind-core/src/app.rs index 48395e7..13365c4 100644 --- a/rustywind-core/src/app.rs +++ b/rustywind-core/src/app.rs @@ -28,7 +28,7 @@ pub struct RustyWind { impl Default for RustyWind { fn default() -> Self { Self { - bump: Bump::with_capacity(1024 * 1024 * 1024 * 500), + bump: Bump::with_capacity(1024 * 1024 * 500), regex: FinderRegex::DefaultRegex, sorter: Sorter::DefaultSorter, allow_duplicates: false, @@ -45,7 +45,7 @@ impl RustyWind { class_wrapping: ClassWrapping, ) -> Self { Self { - bump: Bump::with_capacity(1024 * 1024 * 1024 * 500), + bump: Bump::with_capacity(1024 * 1024 * 500), regex, sorter, allow_duplicates,