[
https://issues.apache.org/jira/browse/CASSANDRA-15125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CASSANDRA-15125:
---------------------------------------
Labels: pull-request-available (was: )
> Replace Math.random with Replace.nextDouble to remove performance overhead
> --------------------------------------------------------------------------
>
> Key: CASSANDRA-15125
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15125
> Project: Cassandra
> Issue Type: Improvement
> Reporter: bd2019us
> Priority: Normal
> Labels: pull-request-available
>
> Math.random has a slight performance overhead associated with itself that
> does not exist in Random.nextDouble. These instances of Math.random, such as
> those sampled below, can be replaced with random.nextDouble. Furthermore, the
> randomness can be configured via the Random class if such a feature is needed
> in the future.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]