processing-docs icon indicating copy to clipboard operation
processing-docs copied to clipboard

cpu/memory leak with for loop

Open Woeshbot opened this issue 4 years ago • 1 comments

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 avatar Feb 13 '21 02:02 Woeshbot

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

Woeshbot avatar Feb 13 '21 02:02 Woeshbot

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 avatar Jan 06 '23 17:01 SableRaf