commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [commons-rng] aherbert opened a new pull request #33: RNG-87: Advance MultiplyWithCarry256 state one index per nextInt() call.
Date Mon, 25 Mar 2019 16:19:44 GMT
aherbert opened a new pull request #33: RNG-87: Advance MultiplyWithCarry256 state one index
per nextInt() call.
URL: https://github.com/apache/commons-rng/pull/33
 
 
   This avoids an `if` statement check and marginally improves performance (see the Jira ticket
[RNG-87](https://issues.apache.org/jira/browse/RNG-87)).
   
   It has the advantage of not advancing the state further ahead than necessary.
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

Mime
View raw message