add sounds with capacity

This commit is contained in:
MaxOhn
2022-01-25 03:21:06 +01:00
parent f689a21026
commit d7996ef27c
+1
View File
@@ -684,6 +684,7 @@ macro_rules! parse_body {
let mut map = Beatmap {
version,
hit_objects: Vec::with_capacity(256),
sounds: Vec::with_capacity(256),
..Default::default()
};