I've read that we should avoid allocating memory at runtime. Does this apply to every type of variable? I know that I shouldn't use new to initialize reference class object at runtime. But what's about struct like Vector2 or Vector3? Should I avoid to create (using new) them at runtime too?
asked Mar 26 '11 at 03:54 PM
answered Mar 26 '11 at 09:34 PM