psl::ecs::indirect_t struct

The data is not optimized for direct access.

In contrast to direct_t the data is only accessible through indirection. Sequential elements are not guaranteed to be sequential in memory, and the data is not guaranteed to be contiguous. It is possible that the data does satisfy those conditions, but there won't be any guarantee, or facilities to check so. This access type's advantage to direct_t is less bookeeping and setup required so unless your system is computationally heavy (and so would benefit from memory locality guarantees), it is usually better to use this.