Hello, I have a very quick question regarding DOTS and optimization:
I wish for most of my entities to hold their own individual (multiple) stacks for storing certain data. What'd be the best datastructure in DOTS for this - DynamicBuffer, or is there perhaps a better option? Could it still be easily parallelised with Jobs, if they had to access the top of multiple of these stacks simultaneously?
Also, what's generally the overhead associated with Dynamic buffers (or the other alternatives), especially when it comes to the size the structure uses (in bytes) and the processing power required to perform operations on them - popping or pushing (assume that most of them will be updated nearly every frame).
Thanks to anyone who answers. Please, ping me if you respond.