Nobody understands templates?
develop32
develop32 at gmail.com
Wed Mar 5 15:31:12 PST 2014
On Wednesday, 5 March 2014 at 22:46:40 UTC, sclytrack wrote:
> Are there any disadvantages of using a fixed size array for
> fixed size
> coordinates and vectors, over creating an actual typedef or
> struct Vec3?
Don't know what's the current situation in druntime, but when I
tried static arrays a while ago in my engine every second there
were megabytes of garbage generated. I ended up using structs
with fields.
More information about the Digitalmars-d-learn
mailing list