Casting to Interface vs Actor

so if i am casting to the character in another class every tick to get only the character speed, i do not need to create a getspeed funtion inside interaction interface class to avoid hard reference and save memory ?