mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 22:41:30 +11:00
153cde1a04
The current approach to managing chunk data is misconceived. This new approach uses genuine paletted containers and does not suffer from complexities caused by caching. As a result, memory usage (according to htop) in the terrain example with render distance = 32 has gone from 785 megs to 137 megs. That's 17.4% of the memory it used to use. Terrain generation speed was not affected. |
||
---|---|---|
.. | ||
block.rs | ||
enchant.rs | ||
entity.rs | ||
entity_event.rs | ||
item.rs | ||
main.rs |