Skip to content

3.1.1

Latest
Compare
Choose a tag to compare
@poetmountain poetmountain released this 19 Jan 03:18
  • Performance improvements for motion value updates.

Execution times for value updates have been significantly reduced for all value types. Some examples (tests run on Release configuration):

Value type Speed increase
Double 17%
UIColor 74%
CGPoint 62%
CGRect 65%
SIMD64 188%

For instance, all 64 values of a SIMD64<Double> object in a Motion operation can now be updated on the target object in 52 microseconds (0.0000522 seconds), all properties of a CGRect can be updated in 6 microseconds, and a single Double value of an object property can now be updated in 1.2 microseconds.

  • Fixed CIColorAssistant not respecting the existing colorspace of the original object during animations.
  • Added performance tests.
  • ValueAssistant's updateProperty(property:, newValue:) method was changed to update(properties:, targetObject:) to support updating multiple properties at once.