Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ArrayInterfaceStaticArraysCore #325

Merged
merged 6 commits into from
Jun 25, 2022
Merged

Conversation

ChrisRackauckas
Copy link
Member

Now that there's StaticArraysCore, to have minimal dependencies I created ArrayInterfaceStaticArraysCore which only requires ArrayInterfaceCore and StaticArraysCore and implements all of the possible functions given those constraints (i.e. no static-ness), which covers all of the functions which are actually used by SciML downstream packages. Thus this will have a massive effect on downstream load times. As a result, a patch bump to ArrayInterfaceStaticArrays is done which just includes the core version so it's non-breaking.

Now that there's StaticArraysCore, to have minimal dependencies I created ArrayInterfaceStaticArraysCore which only requires ArrayInterfaceCore and StaticArraysCore and implements all of the possible functions given those constraints (i.e. no static-ness), which covers all of the functions which are actually used by SciML downstream packages. Thus this will have a massive effect on downstream load times. As a result, a patch bump to ArrayInterfaceStaticArrays is done which just includes the core version so it's non-breaking.
@codecov
Copy link

codecov bot commented Jun 24, 2022

Codecov Report

Merging #325 (691acbf) into master (9cc5804) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #325   +/-   ##
=======================================
  Coverage   91.10%   91.10%           
=======================================
  Files           9        9           
  Lines        1462     1462           
=======================================
  Hits         1332     1332           
  Misses        130      130           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9cc5804...691acbf. Read the comment docs.

@ChrisRackauckas ChrisRackauckas merged commit cdc271f into master Jun 25, 2022
@ChrisRackauckas ChrisRackauckas deleted the staticarrayscore branch June 25, 2022 00:37
@ChrisRackauckas
Copy link
Member Author

Heavily tested locally.

ChrisRackauckas added a commit to SciML/RecursiveArrayTools.jl that referenced this pull request Jun 25, 2022
Requires JuliaArrays/ArrayInterface.jl#325

```julia
@time_imports using SciMLBase
    10.4 ms    ┌ MacroTools
     19.0 ms  ┌ ZygoteRules
      3.8 ms  ┌ Compat
      1.5 ms    ┌ Adapt
      3.7 ms    ┌ ArrayInterfaceCore
      2.0 ms    ┌ StaticArraysCore
      9.7 ms  ┌ ArrayInterfaceStaticArraysCore
    123.1 ms  ┌ FillArrays
      5.0 ms  ┌ DocStringExtensions
     18.2 ms  ┌ RecipesBase
     51.3 ms  ┌ ChainRulesCore
      4.0 ms  ┌ GPUArraysCore
    292.7 ms  RecursiveArrayTools
```

Compare that to #213
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants