From 207a565c11e35843af4f3de33e4e016c98ec1728 Mon Sep 17 00:00:00 2001 From: Kinsi Date: Tue, 5 Jul 2022 01:39:41 +0200 Subject: [PATCH] Preallocating 4 cells makes sense --- Util/SongDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Util/SongDownloader.cs b/Util/SongDownloader.cs index 7b87ca3..dda05a7 100644 --- a/Util/SongDownloader.cs +++ b/Util/SongDownloader.cs @@ -47,7 +47,7 @@ static unsafe void ExtractZip(Stream zipStream, string basePath, CancellationTok int steps; var progress = 0; - var files = new Dictionary(); + var files = new Dictionary(4); try { var longestFileNameLength = 0;