mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-04 06:39:07 +02:00
minedmap: split up big types by adding Boxes
Make these values faster to move around, and optimize their size when used in Options.
This commit is contained in:
parent
cd1a5e869d
commit
7b46adf6e7
3 changed files with 12 additions and 9 deletions
|
@ -48,7 +48,7 @@ pub struct ProcessedChunk {
|
|||
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
|
||||
pub struct ProcessedRegion {
|
||||
pub biome_list: IndexSet<Biome>,
|
||||
pub chunks: ChunkArray<Option<ProcessedChunk>>,
|
||||
pub chunks: ChunkArray<Option<Box<ProcessedChunk>>>,
|
||||
}
|
||||
|
||||
pub struct Config {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue