Correct way to instantiate and configure multiple entities

Maybe I am mistaken but I read that batching changes in ecs is much more efficient than doing things one by one.

The link that DreamingImLatios posted above talks about this.

Here is another thread that I found: EntityManager batch API vs CommandBuffer

Also, to my understanding, if I wanted to jobify this function I would need to use an EntityCommandBuffer which effectively just defers all of the commands to run on the main thread one-by-one.

I think DreamingImLatios has written a custom command buffer that still runs on the main thread but makes changes in batches rather than on-by-one.

For now I’m not too worried about creating sync points (the real reason to use EntityCommandBuffer) so would ideally like a more simple solution than that.

This is all just my understanding and I may be wrong about some things.