Bad idea.
The first one is faster because it's doing an integer move.
However, if you ever actually want to *use* the float (god forbid), a float move will eventually be required!
In addition, the first one will cause the float to be spilled, since you are taking the address of a local variable (which always causes a local to spill).
The first one is faster because it's doing an integer move.
However, if you ever actually want to *use* the float (god forbid), a float move will eventually be required!
In addition, the first one will cause the float to be spilled, since you are taking the address of a local variable (which always causes a local to spill).