ChunkRendererRegionMixin is incredibly inefficent
stormdirus2 opened this issue · 0 comments
stormdirus2 commented
Hey I just wanted to let you know that this mixin is unoptimized.
It runs that code for every block in every chunk region when they are rebuilt for rendering.
This affects the performance of chunk loading, mining//placing blocks, or anything else that changes the terrain.
Some potential alternatives would be to :
- Modify the loop in ChunkRendererRegion constructor
or
- Use FREX Api
(Suggestions from @Pyrofab)
Performance impact is potentially negligible. I just wanted to make sure you were aware.