This thread piqued my interest since I ran into this need recently as well.
Can somebody explain to me the advantage of
const VALUE_A = Ref(42) compared to VALUE_A::Int = 42
Now, I do understand prior to 1.8, the second approach wasn’t possible. Besides that, I would be curious what the advantage might be?
Edit: I found this stackoverflow post which seems to imply they are equivalent (at least for the simple test in the post): python 3.x - Julia performance : use Ref()? - Stack Overflow. Though if there is an advantage one way or another, I would still be interested in hearing!