Open
Description
How important is the implementation of:
object = _objects.shift();
_objects.push(object);
rather than just:
object = _objects[ i ];
( in the update function )
I thought I'd ask first, I've found the bottom one liner plus commenting out the push, at least 20% faster, but this could come off me being really silly, if you have a really important reason for sorting the objects.. like perhaps, groups do not work properly from the one liner way.
I haven't tested killing yet, but yeah, just curious about the implementation really, and it's purpose that I may not be seeing.
Metadata
Metadata
Assignees
Labels
No labels