Problem: Memory Management Could be Better Designed #86
Labels
enhancement
New feature or request
low-priority
"Nice to have" but not necessary; prioritize lower
performance
A task related to assessing/enhancing performance
Milestone
Problem Description
The current memory management strategy within ERIN is quite ad hoc and relies entirely upon the
std::vector
memory characteristics. Although we attempt to reserve vector space when we know the counts, we believe it would be good to investigate how alternate memory management strategies could affect the performance.In particular, we think that a single pre-allocated memory arena which includes a per-time-step "scratch" area might be a great way to reduce multiple potential behind-the-scenes mallocs and reallocs.
Together with this item, I would like to suggest exploring the following:
The text was updated successfully, but these errors were encountered: