add sounds with capacity
This commit is contained in:
1 parent
f689a21026
commit
d7996ef27c
1 file changed
+1
@@ -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()
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user