Does uvm_top.find() have impact of simulation time?

In reply to dhserfer:

At SOC, I have been using uvm_top.find() to get the reference/instance of an IP level UVM component. I’m using this extracted hierarchy to invoke a function within that IP level UVM component.

I could have directly used the hierarchical path to refer to that IP UVM component instance and accessed its function, but being an SOC ENV, i didn’t want to hard-code the usage.

EX : Currently i’m using it as:
longint unsigned my_addr; // local variable to store address
byreddy_env abc; // byreddy_env is my IP UVM component
$cast(abc,uvm_top.find(“*u_byreddy_env”)); // u_byreddy_env is instance of byreddy_env
my_addr = abc.get_system_address();

@ dhserfer : yes i use this call to uvm_top.find() many times as the above code gets executed lot of times.

Could you please let me know better approach for the same.

BTW, thanks a lot for replying.