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..

Change History (1)

by tuan kuranes, 11 years ago

Attachment: Territory_Memfrag.patch added

patch

Note: See TracTickets for help on using tickets.