Skip to content

PropertyFieldView - #333

Open
cmhamel wants to merge 1 commit into
mainfrom
props-again
Open

PropertyFieldView#333
cmhamel wants to merge 1 commit into
mainfrom
props-again

Conversation

@cmhamel

@cmhamel cmhamel commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Adding PropertyFieldView type so we don't need to resort to StaticArrays. The only things StaticArrays offers us isbits-ness. But this PropertyFieldView type is also isbits. If we only need properties for e.g. elastoplastic models, then StaticArrays is just fine since we'll usually be under ~10 parameters. However, for viscoelastic models, we could easily get into the dozens or even over a hundred individual parameters where StaticArrays become less competetive and can lead to subtsantial compile times. This PR slightly reverts some things but not by much. Tested against the whole Carina.jl test suite.

…ays. The only things StaticArrays offers us isbits-ness. But this PropertyFieldView type is also isbits. If we only need properties for e.g. elastoplastic models, then StaticArrays is just fine since we'll usually be under ~10 parameters. However, for viscoelastic models, we could easily get into the dozens or even over a hundred individual parameters where StaticArrays become less competetive and can lead to subtsantial compile times. This PR slightly reverts some things but not by much. Tested against the whole Carina.jl test suite.
@cmhamel
cmhamel requested a review from lxmota August 7, 2026 03:34
@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 70.92%. Comparing base (125097b) to head (dd47257).

Files with missing lines Patch % Lines
src/Fields.jl 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #333   +/-   ##
=======================================
  Coverage   70.91%   70.92%           
=======================================
  Files          54       54           
  Lines        6289     6291    +2     
=======================================
+ Hits         4460     4462    +2     
  Misses       1829     1829           

☔ View full report in Codecov by Harness.
📢 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.

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