Opened 11 years ago

Last modified 8 years ago

#2022 closed defect

[PATCH] Territory Memory fragmentation — at Version 1

Reported by: tuan kuranes Owned by:
Priority: Nice to Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by tuan kuranes)

Each call to territory related function involves lots of temporary, mostly std::vector, sometimes unecessary std::vectors.

This very basic 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, 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.

Change History (2)

by tuan kuranes, 11 years ago

Attachment: Territory_Memfrag.patch added

patch

comment:1 by tuan kuranes, 11 years ago

Description: modified (diff)
Priority: Should HaveNice to Have
Summary: Territory Memory fragmentation[PATCH] Territory Memory fragmentation
Note: See TracTickets for help on using tickets.