-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider using Subchunks instead of ChunkBlocks #458
base: master
Are you sure you want to change the base?
Conversation
Update mod.rs Update mod.rs Update mod.rs Update mod.rs
…nto simple-branch
all done |
rle enabled: 45mb mem usage rle disabled: 65mb mem usage
All done again |
Wil be cool if someone write a #462, or if someone add another compression methods like octree or paletted container with bitvec |
Why you just copied to rle-vec crate ?, If you don't know in rust we have |
I wanted make some changes but i idk why, i just zabil what i want to do Edit: vspomnil, rle dont have .get() method |
Maybe it can improve situation? |
Description
What?
Yeah, i want structure chunk and make subchunks. Its a very cool optimization for chunk section, because its utilizes air and any other block.
Its a demo pr. Like its need discussions and optimizations, but can be merge now.
Its also can break some code, because its a game changer.
Testing
cargo run --release
see whats its not crashing, i can place blocks normally
see memory usage on my branch
git checkout main
cargo run --release
see memory usage on main
think what it works
Please follow our Coding Guidelines