processing-docs
processing-docs copied to clipboard
cpu/memory leak with for loop
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.
This probably isn't an issue with processing but processing is the only thing I use to code with.
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.