Skip to content
New issue

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

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

Already on GitHub? # to your account

RFC: make FillArrays.jl a weakdep #163

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

RFC: make FillArrays.jl a weakdep #163

wants to merge 8 commits into from

Conversation

dkarrasch
Copy link
Member

This is as far as I got. I got stuck at the MulAdd(::Mul) constructor, which calls mulzeros, which calls Zeros for Number eltypes. So, either this means we have a strong dependency, or there is a work-around. Perhaps, after JuliaArrays/FillArrays.jl#286 FillArrays.jl is light enough anyway, but if there is a simple enough work-around, I think it would be still beneficial to reduce strong dependencies as much as possible. I'm leaving for summer holidays, so I'm putting this up for comments.

@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Patch coverage: 72.72% and project coverage change: -0.05% ⚠️

Comparison is base (14721f1) 87.08% compared to head (227b954) 87.04%.
Report is 4 commits behind head on master.

❗ Current head 227b954 differs from pull request most recent head 7bbaeb9. Consider uploading reports for the commit 7bbaeb9 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
- Coverage   87.08%   87.04%   -0.05%     
==========================================
  Files          10       11       +1     
  Lines        1773     1775       +2     
==========================================
+ Hits         1544     1545       +1     
- Misses        229      230       +1     
Files Changed Coverage Δ
src/diagonal.jl 92.30% <ø> (+9.25%) ⬆️
src/memorylayout.jl 84.85% <ø> (+0.32%) ⬆️
src/muladd.jl 77.31% <ø> (+2.01%) ⬆️
ext/ArrayLayoutsFillArraysExt.jl 70.49% <70.49%> (ø)
src/ArrayLayouts.jl 82.22% <100.00%> (-0.58%) ⬇️
src/ldiv.jl 90.40% <100.00%> (+0.07%) ⬆️
src/mul.jl 83.66% <100.00%> (-1.06%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dkarrasch
Copy link
Member Author

I pushed things a bit further. Controversial aspects are the above-mentionen mulzeros issue and the removal of + and - overloads for UniformScalings. FWIW, this now clearly shows the dependent parts, so comments are most welcome.

@dkarrasch dkarrasch changed the title WIP: make FillArrays.jl a weakdep RFC: make FillArrays.jl a weakdep Aug 23, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant