bfops / playform

Voxel sandbox project in Rust
http://playformdev.blogspot.ca/
MIT License
212 stars 24 forks source link

Fix lag spikes #151

Closed bfops closed 8 years ago

bfops commented 9 years ago

There are noticeable lag spikes when loading the world.

bfops commented 8 years ago

I think this is fixed in 5af5c268f63e198add6f68ccba6af3ccc161fa7e

bfops commented 8 years ago

Generating/editing terrain can still cause lagspikes if it takes a while (e.g. placing trees). We can make terrain generation take less time, but that limits how complicated we can be. I think it makes more sense to make sure we always have at least one thread doing something other than terrain generation.

bfops commented 8 years ago

fixed in 7a9811821780a3d50fb11334b4b0c8fc505db0a5. Things still hang if more than one thread is trying to touch the SVO at once though. This can be fixed as part of #143.