How's the progress in garbage-collecting unused functions?

How is it not free? Wouldn’t it simply be something like this?

struct WorldAge
    age::UInt
end

Or are you talking about the GC-tracked part? In that case, I guess it might be:

mutable struct WorldAge
    const age::UInt
end
1 Like