Still relevant as performance of captured variables in closures · Issue #15276 · JuliaLang/julia · GitHub is not fixed yet. For me the issue manifested in not-inferred closures when they should have been. Check with @code_warntype on your closures.
2 Likes