Closed c42f closed 1 year ago
Merging #63 (74838eb) into master (4ffaeb3) will decrease coverage by
4.38%
. The diff coverage is41.66%
.
@@ Coverage Diff @@
## master #63 +/- ##
==========================================
- Coverage 94.00% 89.62% -4.38%
==========================================
Files 1 1
Lines 100 106 +6
==========================================
+ Hits 94 95 +1
- Misses 6 11 +5
Impacted Files | Coverage Δ | |
---|---|---|
src/RuntimeGeneratedFunctions.jl | 89.62% <41.66%> (-4.38%) |
:arrow_down: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Ok I think I cleaned those things up now. Should be good to go :)
Revert some of https://github.com/SciML/RuntimeGeneratedFunctions.jl/pull/62
Originally GC of RGFs was implemented because people seemed to need it. So dropping support for this completely doesn't seem great.
Instead, this PR lets normal RGF bodies be GC'd as always. But if one calls
drop_expr
, we upgrade theWeakRef
to a normal strong reference in the cache, preventing the body from being GC'd thereafter.