piiswrong commented on issue #7782: Scala fix
URL: https://github.com/apache/incubator-mxnet/pull/7782#issuecomment-327903786
 
 
   why add all the const
   
   It is good practice to use const when the value is not going to change. It 
both lets the reader know that this value is read-only when inspecting the 
code, it can also aid in the compiler's optimization (depending on the 
compiler, compile time and/or final optimized code).
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to