You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/05/11 18:31:00 UTC

[jira] [Commented] (APEXCORE-819) Use Random.nextdouble instead of Math.Random

    [ https://issues.apache.org/jira/browse/APEXCORE-819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837904#comment-16837904 ] 

ASF GitHub Bot commented on APEXCORE-819:
-----------------------------------------

bd2019us commented on pull request #608: [APEXCORE-819] Use Random.nextDouble instead of Math.random
URL: https://github.com/apache/apex-core/pull/608
 
 
   [APEXCORE-819](https://issues.apache.org/jira/browse/APEXCORE-819) Instances of Math.Random can be replaced by Random.nextDouble to remove a performance overhead exclusively associated with Math.random. Furthermore, using the Random class allows for more precise control over the randomness if needed for future developement.
 
----------------------------------------------------------------
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:
users@infra.apache.org


> Use Random.nextdouble instead of Math.Random
> --------------------------------------------
>
>                 Key: APEXCORE-819
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-819
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: bd2019us
>            Priority: Trivial
>
> Instances of Math.Random can be replaced by Random.nextDouble to remove a performance overhead exclusively associated with Math.random. Furthermore, using the Random class allows for more precise control over the randomness if needed for future developement.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)