Skip to content

cpu/memory leak with for loop #830

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

Closed
Woeshbot opened this issue Feb 13, 2021 · 2 comments
Closed

cpu/memory leak with for loop #830

Woeshbot opened this issue Feb 13, 2021 · 2 comments

Comments

@Woeshbot
Copy link

Woeshbot commented Feb 13, 2021

Issue description
ex. for (int i = 0; i < 10; i+=0.1) {}
Trying to change an declared integer in a for loop by a float amount causes high CPU usage and memory leakage with no compiler error.

URL(s) of affected page(s)

?

Proposed fix

use better coding practice unlike me lmao.

@Woeshbot
Copy link
Author

This probably isn't an issue with processing but processing is the only thing I use to code with.

@SableRaf
Copy link
Contributor

SableRaf commented Jan 6, 2023

Thank you for bringing this issue to our attention. We appreciate your effort to help improve the website and software. However, our repositories are intended specifically for technical issues and proposed fixes. We encourage you to continue actively participating in improving the website and software, which you can do on the processing-website and processing4 repositories respectively. Thank you for your contribution.

@SableRaf SableRaf closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2023
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