You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "bd2019us (JIRA)" <ji...@apache.org> on 2019/05/10 23:38:00 UTC

[jira] [Created] (OPENNLP-1259) Replace Math.Random with Random.nextDouble

bd2019us created OPENNLP-1259:
---------------------------------

             Summary: Replace Math.Random with Random.nextDouble
                 Key: OPENNLP-1259
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1259
             Project: OpenNLP
          Issue Type: Improvement
            Reporter: bd2019us


When compared to Random.nextDouble, there is a slight performance overhead associated with Math.random. Switching to Random.nextDouble can reduce this overhead and offers more control over the randomness in the future.



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