- Add inline allocator for FNiagaraDataSet -> Data to reduce memory churn

#rb none
[FYI] shaun.kime

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: stu.mckenna
#ROBOMERGE-SOURCE: CL 7315040 via CL 7318070 via CL 7319874
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v371-7306989)

[CL 7369436 by stu mckenna in Dev-Anim branch]
This commit is contained in:
stu mckenna
2019-07-17 03:32:00 -04:00
parent 0c634ea7f2
commit 7684356cc7

View File

@@ -352,7 +352,7 @@ private:
We keep track of the Current and Previous buffers which move with each simulate.
Additional buffers may be in here if they are currently being used by the render thread.
*/
TArray<FNiagaraDataBuffer*> Data;
TArray<FNiagaraDataBuffer*, TInlineAllocator<2>> Data;
FString DebugName;
};