Changes between Initial Version and Version 1 of Ticket #1860, comment 14


Ignore:
Timestamp:
May 16, 2013, 6:47:29 PM (11 years ago)
Author:
tuan kuranes

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1860, comment 14

    initial v1  
    1 Could it becomes a entityDB template ?
     1Could we go toward an "entityDB" template ?
     2Where you store data per entity_id and retrieve it by entity_id or can iterate over all the data stored there ?
     3
    24It would lead to reusable tool across components, avoiding code duplication and ensure performance code.
    35
    4 Idea is given a struct/object of entity/component related data, the templateyou get a fast iterator and a fast finder (using two vector a filled and a sparse entity_id indexed as explained in my comment here  http://trac.wildfiregames.com/ticket/1707 )
     6Using two vector a filled and a sparse entity_id indexed as explained in my comment here (http://trac.wildfiregames.com/ticket/1707)
     7You get a fast iterator and a fast finder, and a single code base.