db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: Regarding DERBY-5538
Date Tue, 26 Sep 2017 01:49:19 GMT
The crucial difference between using String, and using char[], is that the
String cannot be changed after we are done using it, while the char[] array
can be changed once we are done using it.

So it's not *just* changing from String to char[], it's *also* clearing the
character array after we are done using it, so it doesn't stick around in
memory unnecessarily.

Here's a more detailed explanation:



View raw message