Skip to content

Specialize Base.sizeof() for AbstractDimArray#1196

Open
JamesWrigley wants to merge 1 commit into
rafaqz:mainfrom
JamesWrigley:sizeof
Open

Specialize Base.sizeof() for AbstractDimArray#1196
JamesWrigley wants to merge 1 commit into
rafaqz:mainfrom
JamesWrigley:sizeof

Conversation

@JamesWrigley
Copy link
Copy Markdown
Contributor

Previously sizeof(::DimArray) would report the size of the DimArray struct rather than the underlying array. Reporting the size of the array is consistent with Array.

Previously `sizeof(::DimArray)` would report the size of the `DimArray` struct
rather than the underlying array. Reporting the size of the array is consistent
with `Array`.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.99%. Comparing base (4fbea49) to head (c07c59c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1196   +/-   ##
=======================================
  Coverage   86.98%   86.99%           
=======================================
  Files          61       61           
  Lines        5849     5850    +1     
=======================================
+ Hits         5088     5089    +1     
  Misses        761      761           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JamesWrigley
Copy link
Copy Markdown
Contributor Author

Nightly failure is JuliaPy/CondaPkg.jl#205.

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.

1 participant