actuate icon indicating copy to clipboard operation
actuate copied to clipboard

Feature Request: Resolve setters at beginning and reuse during tween

Open TomByrne opened this issue 9 years ago • 0 comments

Actuate uses Reflect.setField / setProperty to set tweened values in.

This is very expensive on some targets (as Error objects are constantly allocated) and hides any errors produced within the setter. Ideally, the GenericActuator would work out whether a property should go through a setter once at the beginning of a tween, and then either use this setter or directly set the field in an untyped manner (without a try/catch).

TomByrne avatar May 05 '16 04:05 TomByrne