Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.9.1.0
Description
We should see if we could use a java.nio.ByteBuffer instead of a byte array in org.apache.derby.client.net.Request, similar to what we did for DDMWriter in DERBY-2936. ByteBuffer provides some helper methods that allows us to simplify the code that puts multi-byte values into the buffer (like ByteBuffer.putShort(), putInt(), putLong()). It may also be a first step on the way to using a CharsetEncoder to encode strings without going via an intermediate throw-away byte array (see DERBY-5068 for details).
Attachments
Attachments
Issue Links
- relates to
-
DERBY-2936 Use java.nio.ByteBuffer for buffering in DDMWriter
- Closed
-
DERBY-5068 Investigate increased CPU usage on client after introduction of UTF-8 CcsidManager
- Closed