Thanks thats a very detailed answer. Exactly what I was looking for. When I said RTTI, I wanted to mean reflection. I know C++ doesn’t have RTTI, we are asked to create a crude RTTI implementation as one of our assignments from which i gathered that its costly. Its totally different from how UE4 implements reflection. Yes string comparison is always costlier than integer comparison.
I didnt know about TActorIterator. this is amazing. Thanks again.