Maybe it’s the natural consequence of wanting to use bleeding-edge stuff? They might not intend all users to use the latest version all the time, but some users want to anyway.
a Brief History of (gc) Time /julia/base/gcutils.jl
gcutils.jl application/atom 2019-10-21
gcutils.jl application/atom 2020-05-23
gcutils.jl application/atom 2022-03-29
.
.
And Once across quickly over the top - e.g. some selected / excerpts / details inside gcutils.jl:
"""
Base.GC
Module with garbage collection utilities.
"""
module GC
# mirrored from julia.h
const GC_AUTO = 0
const GC_FULL = 1
const GC_INCREMENTAL = 2
"""
GC.gc([full=true])
Perform garbage collection. The argument `full` determines the kind of
collection: A full collection (default) sweeps all objects, which makes the
next GC scan much slower, while an incremental collection may only sweep
so-called young objects.
!!! WARNING
Excessive use will likely lead to poor performance.
"""
..
@jpsamaroo maybe for more deeply into the details,
IOW If someone REALLY wants to know , maybe try searching here for : gc correctness
BTW @Tarny_GG_Channie re “do something with linear algebra stuffs efficiently” I was surprised to find LinearAlgebra.tr (function, Linear Algebra) in the search results for : gc correctness (or is that actually just an LLM Search hallucination / confabulation? Let us know what you find out?)
Number of results: 244
Base.GC.gc (function, Essentials)
Base.GC (module, Essentials)
GC Invariants (section, Static analyzer annotations for GC correctness in C code)
Static analyzer annotations for GC correctness in C code (section, Static analyzer annotations for GC correctness in C code)
Static analyzer annotations for GC correctness in C code (page)
Base.GC.enable (function, Essentials)
Base.GC.safepoint (function, Essentials)
Base.GC.@preserve (macro, Essentials)
GC root placement (section, Working with LLVM)
Updating fields of GC-managed objects (section, Embedding Julia)
ans (keyword, Essentials)
LinearAlgebra.tr (function, Linear Algebra)
.
.
Julia v1.6 Release Notes (page)
Julia v1.6 Release Notes (section, Julia v1.6 Release Notes)
LinearAlgebra.LQ (type, Linear Algebra)
LinearAlgebra.lq (function, Linear Algebra)
.
.