processing / processing-docs

[Deprecated] Processing reference, examples, tutorials, and website
https://processing.org
371 stars 179 forks source link

cpu/memory leak with for loop #830

Closed Woeshbot closed 1 year ago

Woeshbot commented 3 years ago

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 commented 3 years ago

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

SableRaf commented 1 year ago

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.