Is casting expensive?

I was going to ask about caching in general in UE. I’m coming from Unity where it’s pretty common to cache everything you plan to reference in a script. Does it make a significant difference in Unreal or should I not worry about it?