I think almost all of these add sufficient extra clarity and have no
performance impact that matters,
so I would leave them all alone.
-phil.
On 11/27/23 12:21 PM, Anthony Goubard wrote:
Hello,
Last Friday, I decided to look if there were some classes that did
unneeded array assignments (e.
Hello,
Last Friday, I decided to look if there were some classes that did
unneeded array assignments (e.g. to 0 / 0.0f / null / false) in the JDK and
found many in the client-libs.
Here are a few examples of unneeded assignments done in a for loop:
https://github.com/openjdk/jdk/blob/master/src