1 min readAug 11, 2020
Having implemented sparse sets myself, I don't think this is correct. You may store the component only once, but the sparse array needs to be large enough so that I can use the entity id as array index.
Having implemented sparse sets myself, I don't think this is correct. You may store the component only once, but the sparse array needs to be large enough so that I can use the entity id as array index.
Author of Flecs, an Entity Component System for C and C++