Use new vector3 or a already defined vector3?

Hey,

So I was thinking about what is faster, I am developing a game for my android mobile so I want to make it as smooth as possible.

Is it faster to use a already defined vector3 and change its properties every frame:

private vector3 sampleVector;

Update(){

   sampleVector = new vector3(1 * Time.time, 0, 0);

   go1.transform.position = sampleVector;

}

or just use new vector3 every frame:

Update(){

   go1.transform.position = new vector3(1 * Time.time, 0, 0);

}

I think the second one is better but one of my teachers mentioned something that the first one is better/faster because the memory is already saved.

A Vector3 is a struct, so defining a new Vector3 requires very little overhead - memory gets allicated straight on the stack and doesn’t involve the garbage collector at all.

If you really want to find out which is better, create a test that executes each version 100,000 times and profile the results, but I would be very surprised if the results are significant enough to consider worrying about.