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
In loop of 'runInts' variable 'sum' is boxed at the end of each loop iteration. Instead box it only outside the loop, similarly to doubles.
runInts(a, b) { var sum = 0; for (int i = 0; i < 10000; i++) { sum = sum + a - b; } return sum; }
main() { for (int i = 0; i < 100; i++) { runInts(1, 0x7FFFFFFF); } }
The text was updated successfully, but these errors were encountered:
Issue #13869 has been merged into this issue.
Sorry, something went wrong.
Fixed by 8adefa8
fsc8000
No branches or pull requests
In loop of 'runInts' variable 'sum' is boxed at the end of each loop iteration. Instead box it only outside the loop, similarly to doubles.
runInts(a, b) {
var sum = 0;
for (int i = 0; i < 10000; i++) {
sum = sum + a - b;
}
return sum;
}
main() {
for (int i = 0; i < 100; i++) {
runInts(1, 0x7FFFFFFF);
}
}
The text was updated successfully, but these errors were encountered: