Download

A question for TArray & TMap

I just use tmap to save and load map game data at runtime.

FStruct save the data of map, may be a big size.

there are 2 way to use tmap

normal type (Will the Add() function clone the struct?)
TMap<FIntVector, FStruct>

pointer type
TMap<FIntVector, FStruct*>

which is efficient?

I like to use map<xx, class*> with STL.