I use a dictionary to store all the various variables I use in an 
algorithm. 

So, there are many functions which look like:
function foo(input::Dict)
   x =2*input[:bar]
end

Input is created once and never changed.
Would abusing Val{T} be an option here? There will only be one value for 
`input[:bar] for the entire run which takes > 2 hours.

Thanks!

Reply via email to