Opened 11 years ago
Last modified 8 years ago
#2022 closed defect
Territory Memory fragmentation — at Initial Version
Reported by: | tuan kuranes | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
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.)
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..
Note:
See TracTickets
for help on using tickets.
patch