You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Vlad Rozov (JIRA)" <ji...@apache.org> on 2019/06/03 15:06:00 UTC
[jira] [Resolved] (APEXCORE-819) Use Random.nextdouble instead of
Math.Random
[ https://issues.apache.org/jira/browse/APEXCORE-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vlad Rozov resolved APEXCORE-819.
---------------------------------
Resolution: Not A Bug
> 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)