Dear all,
In a prototype i’m building I use an array of type:
TArray<UFZ_Cell*, TInlineAllocator<100000>> Cells;
The TInlineAllocator keyword allows me to create these cells on the stack (in an attempt to improve performance). The problem is that my array is being garbage collected because i can’t make stack allocated TArray’s UPROPERTY(). This also goes for TFixedAllocator. How can i manage this?
Thanks a million! :rolleyes:
Move information on stack allocated TArray’s:
https://www.unrealengine.com/en-US/b…or-performance