ZehMatt
Refugee
This mod should improve some micro stuttering by using a R/W lock rather than the generic lock. I've modified the classes: ChunkManager, ChunkCluster, Chunk. I've also eliminated some redundant locking by moving the code around a bit, like in 'task_CalcChunkPositions' or in 'thread_Regenerating', it locks multiple times while it only needs to do it once. You may also notice a small improvement in FPS when you have a lot of zombies around as they also access the chunk data a lot, since the game has no builtin Benchmark its near impossible to get accurate numbers.
I will maybe do more profiling and other smaller optimization where possible. Give it a try and let me know if it improves the stuttering for you.
NOTE: Disable EAC when you want to use this.
View attachment Assembly-CSharp.zip
I will maybe do more profiling and other smaller optimization where possible. Give it a try and let me know if it improves the stuttering for you.
NOTE: Disable EAC when you want to use this.
View attachment Assembly-CSharp.zip