This is the most optimized piece of ProtoFlux code I've ever written on @resonite.com@bsky.brid.gy - the code of my voxel generator responsible for populating the terrain mesh data. It's the result of dozens of iterations, experiments, benchmarks and input by multiple talented programmers.
#Resonite #GameDev
1 Boost
0 Likes
I also think this will be a pretty good benchmark for future performance optimizations of ProtoFlux. JIT-compiled ProtoFlux being the dream here. But even with how it is today, this should be fast enough for the voxel generator. It's also flexible enough to support all features I want to support.
I'm quite happy with the end result. Updating chunks after a block has been changed in the worst case (block on the corner of 4 chunks) is around ~10ms on my machine now. This was the first project where ProtoFlux's execution overhead actually ended up being the main limiting factor.