I'm new the C++ and I'm trying to understand what kind of difference does these two examples have.
X, Y;
X = 5;
((float *)&Y)[0] = 5;
If both of them are in cache, is there a big difference between these two?
((real32 *)&(Array))[I], this is the code that Casey used in SSE optimization episode and it got me thinking is there a huge drop in performance if you have to cast it down to a real.