You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by GitBox <gi...@apache.org> on 2019/08/23 06:46:55 UTC

[GitHub] [incubator-datasketches-java] jgeraerts commented on issue #267: use ThreadLocalRandom instead of Random

jgeraerts commented on issue #267: use ThreadLocalRandom instead of Random
URL: https://github.com/apache/incubator-datasketches-java/pull/267#issuecomment-524194487
 
 
   That was the strategy we are taking. We have 1 instance of the ReservoirItemsSketch per thread but they were all reffering to the same Random instance. For us this patch was the path of least resisance. 

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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org