You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model = @init is slow compared to calling the functions directly.
MWE:
using GenieFramework
@genietools@clear@in a =1@in s ="hello"@handlersbegin@onchange a beginprintln("a in 1:10: ", a in1:10)
println("a: ", a in1:10)
endendfunctioninit_macro()
model =@eval(@init())
endfunctioninit_direct()
model =__GF_AUTO_HANDLERS__(init(Main_ReactiveModel))
end
There was an world age problem in @init´ in my PR #159, which needed invokelatest()`. I fixed this just now and added a case distinction. Now things are a bit faster.
model = @init
is slow compared to calling the functions directly.MWE:
The text was updated successfully, but these errors were encountered: