I've been using DOTS for a while now but I'm still not comfortable with it. I wrote this system as a part of my terrain generator and I'd like to hear some feedback. Let me know if I'm doing anything wrong or if I can improve the performance somehow.
I feel like the code gives enough context but a short TLDR; This system is responsible for instantiating new chunk entities around points of interest. The chunks will be used and modified by other systems, this system's scope is just the chunk creation phase.
I'm expecting to iterate over around thousands of chunks every update, which isn't much, but I want it to be as fast as possible.