C#C
C#12mo ago
MechWarrior99

✅ How to make the compile treat a specific struct as a vector?

As I understand it, the compile has special handling for vector types, which allows them to have better performance than regular structs. Is there a way to get the compile to recognize a struct as a vector to get the same performance benefits?

Or have I misunderstood what it is doing and it doesn't have special handling?
Was this page helpful?