Closed LilithHafner closed 5 months ago
Oh awesome. Thanks for this. This has been a long-standing issue that I've wanted to fix, but haven't really had the time to dive into.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
94ab225
) 73.99% compared to head (f2d9983
) 73.92%.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The new version is 1.5x faster for constructing a ComponentArray with 100 fields each with a 10 element vector.
Benchmarks:
This is part of a journey to make
ComponentArray(x = [1,2,3])
not use mutation so that it is compatible with Zygote.jl which is motivated in part by https://github.com/DARPA-ASKEM/sciml-service/issues/141.