Closures: Is this docs sentence still relevant?

Last sentence in the page performance tips

“In the mean time, some user-contributed packages like FastClosures automate the insertion of let statements as in abmult3 .”

Perf. Tips [latest docs]

i used closures heavily in some of my latest code, and i wonder, is this still relevant?

I took a look at the suggested package, and it looks outdated, perhaps it still works, i didn’t try.

Still relevant as https://github.com/JuliaLang/julia/issues/15276 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.

1 Like