optimize method
void
optimize()
Remove all but the first and last Property ChangedEvents for each property for each object.
This is now called by DraggingTool#stopTransaction in order to reduce the memory saved by each dragging transaction. @since 2.2
Implementation
void optimize() {
_i4.callMethod(
this,
'optimize',
[],
);
}