mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
69f68ddf29
This improves the defragment operation for chonks by letting them remove chunks at the top that match above, and bottom that match below. This reduces the chunks / chonk from around 5.9 to around 3.4 at origin. From my investigations, adding something for water would probably get us a full 50% reduction, if we could collapse intermediate chunks; block types other than rock / air / water never appear to have full chunks of the same block, so any additional optimization will require changes to the subchunk compression format or changes to the actual chunks we generate. |
||
---|---|---|
.. | ||
chunk.rs | ||
dyna.rs | ||
mod.rs | ||
scaled.rs | ||
vol_grid_2d.rs | ||
vol_grid_3d.rs | ||
vol_map.rs |