vlsi commented on issue #998: Suggestion: Improvement of Autoboxing and Unboxing
URL: https://github.com/apache/calcite/pull/998#issuecomment-464091696
 
 
   @o0lwj0o , 
   
   >The other potential problem is that Java implement autoboxing and unboxing 
since JDK 1.5. If run this in low version JDK
   
   Not an issue: Calcite is Java 1.8+, so use of Java 1.4 or less is not 
supported here anyway.
   
   >I recommend use “Integer.parseInt(String)” which return type is int to 
improve its performance.
   
   Technically speaking, there's a perf difference, however it is not that big.
   See https://youtrack.jetbrains.com/issue/IDEA-207267
   
   >“double-Doubel”, “float-Float”
   
   There's no performance difference for Double and/or Float in trivial cases.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to