Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add about global variables in performance episode #20

Open
wikfeldt opened this issue Aug 26, 2022 · 1 comment
Open

add about global variables in performance episode #20

wikfeldt opened this issue Aug 26, 2022 · 1 comment

Comments

@wikfeldt
Copy link
Contributor

e.g. exercise comparing runtime of summation using global variable with wrapping it in function. Connect this with a discussion of interactive workflows where global variables are often used

@lucaferranti
Copy link
Collaborator

lucaferranti commented Sep 2, 2022

related, Julia 1.8 introduces typed global variables, which remove a huge piece of the performance penalty of global variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants