I need replicated a TMap but it is not supported,So I make a Struct Array and try make it work like TMap.but I`m not sure if my function is work efficient comparable to TMap.
this is my function.
And this is where i need use.
Do you have some suggest to make it more efficient?
Short Answer: Replicate only what you need too.
Long Answer: Replicate only what you need too. If you dont need to replicate the entire structure array, dont. Only replicate changes. You may find yourself creating more than one function to replicate specific set of elements or individual datatype values.