Changes between Initial Version and Version 1 of Ticket #2022


Ignore:
Timestamp:
Jul 2, 2013, 11:06:02 AM (11 years ago)
Author:
tuan kuranes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2022

    • Property Priority Should HaveNice to Have
    • Property Summary Territory Memory fragmentation[PATCH] Territory Memory fragmentation
  • Ticket #2022 – Description

    initial v1  
    1 Each call to territory related function involves lots of temporary, mostly std::vector. This fast patch just aims to keep them between calls. (which are very numerous, and can be triggered by javascript calls.)
     1Each call to territory related function involves lots of temporary, mostly std::vector, sometimes unecessary std::vectors.
    22
    3 A better patch would follow a "memory pool" way, so this patch may not be very interesting in the end and regarding redfox amazing work on that topic..
     3This very basic patch just aims to keep them between calls. (which are very numerous, and can be triggered by javascript calls.)
     4
     5A better patch would follow a "memory pool" way, as pointed in forums, so this patch may not be very interesting in the end and regarding RedFox amazing work on that topic, the patch may not be useful at all there.