Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.8.0
-
None
-
None
Description
if (!Double.isNaN(doubleValue)) { String string = String.valueOf(doubleValue); byte[] bytes = string.getBytes(StandardCharsets.UTF_8); assignStringGroupVectorEntry(bytesColVector, elementNum, readerType, bytes); }
String.valueOf simply calls Double.toString(), so just skip the jumps and call Double.toString() directly.
Also, does not need to be UTF_8. Will only ever be ASCI values.
Attachments
Issue Links
- links to