3.1.1
- 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
CIColorAssistantnot respecting the existing colorspace of the original object during animations. - Added performance tests.
ValueAssistant'supdateProperty(property:, newValue:)method was changed toupdate(properties:, targetObject:)to support updating multiple properties at once.