Object pool small .swf in flash target

One does not simply object pool, or does he?
Is this some .xml cue or does it happen in code.
Also, I am considering object pooling in OpenFl is to avoid GB, right ?

The object pooling are changes done internally in OpenFL, to avoid cases where we may need more than one temporary Matrix, Point or Rectangle at a time (previously, we had only one temp object)

The reason is to avoid garbage collection, re-using temporary objects instead of destroying/recreating them

1 Like

Was wishing for something like that on a per asset basis, but internal updates managing it sounds good also.