We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The latest Performance Tips document
http://julia.readthedocs.org/en/latest/manual/performance-tips/
says that "Uses of non-constant globals can be optimized by annotating their types at the point of use:". However, this can become tedious.
How about allowing a single type annotation in the global declaration to cover all uses in the function, eg:
global a, b::Int, c
The text was updated successfully, but these errors were encountered:
Dup of #964 – in short, it's a planned feature.
Sorry, something went wrong.
No branches or pull requests
The latest Performance Tips document
http://julia.readthedocs.org/en/latest/manual/performance-tips/
says that "Uses of non-constant globals can be optimized by annotating their types at the point of use:". However, this can become tedious.
How about allowing a single type annotation in the global declaration to cover all uses in the function, eg:
global a, b::Int, c
The text was updated successfully, but these errors were encountered: