|
|
||
|
frog = Vector{ 10, 20, 30 } + Vector{ 20, 30, 40 } + Vector{ 30, 40, 50 }
Right now, If I have 400 aliens each doing pos = pos + vec1 + vec2 + vec3, I get a leak of 400x3x16=20K each frame.. at 60fps that's 115k a second...6.9 meg a minute...4 gigabytes an hour... and that's without any lua table structures or malloc overheads in my calculation.
-- http:// if l .o /