CliMA / Thermodynamics.jl

A package containing a library of moist thermodynamic relations.
https://clima.github.io/Thermodynamics.jl/dev/
Apache License 2.0
61 stars 2 forks source link

Skip inlining PhaseEquil for equilibrium phases #188

Closed charleskawczynski closed 8 months ago

charleskawczynski commented 8 months ago

I think that this is technically a ClimaCore issue (or an issue in Julia base) but, for some reason, inlining PhasePartition(param_set::APS, ts::AbstractPhaseEquil) results in runtime allocations. I have a reproducer, but it involves ClimaCore, so I'll open the issue there.