isudana commented on issue #11: Performance save - Replace instances of 
Math.Random with Random.nextD…
URL: https://github.com/apache/synapse/pull/11#issuecomment-555270122
 
 
   There is no conclusive fact to claim that using Random.nextDouble() gives a 
significant performance gain over Math.Random(). 
   I found the following resources, but those are not good enough to make a 
drastic change in the codebase. 
   
https://stackoverflow.com/questions/738629/math-random-versus-random-nextintint
   https://community.oracle.com/message/6596485?#6594485
   
   Do you have any other resources or proof to prove that we could gain a 
performance improvement by doing this change? 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org
For additional commands, e-mail: dev-h...@synapse.apache.org

Reply via email to