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


Ignore:
Timestamp:
Mar 16, 2013, 8:53:09 PM (11 years ago)
Author:
sbte

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1860, comment 5

    initial v1  
    11You mean that I should get rid of the map? I think I concluded last time that this was not possible, because the entity_id_t is still needed in some place. The memory 'leak' is limited to ~10k pointers, so it's not that much. But I'll have another look.
     2
     3Edit: Oh, I see. In your patch you just used the entity_id_t as an index. If that id is always smaller than 2 time the amount of entities, then this should be fine indeed. Otherwise doing things that way would bee a bigger memory leak. Any idea about that?