fityk icon indicating copy to clipboard operation
fityk copied to clipboard

Faster way to unfreeze all variables

Open Fellow-baka opened this issue 4 years ago • 0 comments

Hi, Marcin!

Is there a fast way to unfreeze all the variables? It takes about 40 seconds to unfreeze ~2500 variables in Fityk 1.3.1 (windows version) via this straightforward approach:

variables = F:all_variables()
for i = 0, #variables-1 do
  v = variables[i]
  F:execute("$" .. v.name .. "= ~{$" .. v.name .. "}")
end

Fellow-baka avatar Mar 17 '20 21:03 Fellow-baka