Transform Matrix* to value classes (#1205)
It transforms Matrix* classes to be value classes so that we avoid double allocation in these simple classes (1 fo FloatArray and 1 for the Matrix class itself) https://github.com/JetBrains/skiko/pull/1137 followup (at least partly) Fixes [SKIKO-1140](https://youtrack.jetbrains.com/issue/SKIKO-1140/Change-Matrix-to-value-classes) **Next** Follow-up PR in Compose Core to make use of the internal float array constructor to reuse if coming from another FLoatArray --------- Co-authored-by:Ivan Matkov <matkov.ivan@gmail.com>
Showing
Please register or sign in to comment