minecraft-dotnet/Substrate

Multi-threaded lighting calculations?

Technoguyfication opened this issue · 1 comments

Hi. I'm using substrate to do some work on a large world (>5k blocks square) and I noticed the lighting calculations are taking up over 90% of my CPU time. I tried multithreading the lighting calculations but it started giving me errors, so I have to run it on a single thread the entire time which is painfully slow. Is there some way to perform block and skylight calculations concurrently?

What errors are you getting?