Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a better way to support a higher version JDK in RandomSelectStrategy #232

Open
fantow opened this issue Jul 17, 2020 · 1 comment
Assignees
Labels
dev:tuning Some improvement

Comments

@fantow
Copy link

fantow commented Jul 17, 2020

In JDK1.7 there is a better way to generate random numbers under multithreading.I think we can use ThreadLocalRandom instead normal Random,also we should think over lower version JDK.May I submit a PR for this feature?

@fantow fantow changed the title is there a bettr way to support a higher version JDK in RandomSelectStrategy Is there a bettr way to support a higher version JDK in RandomSelectStrategy Jul 17, 2020
@fantow fantow changed the title Is there a bettr way to support a higher version JDK in RandomSelectStrategy Is there a better way to support a higher version JDK in RandomSelectStrategy Jul 17, 2020
@dbl-x
Copy link
Contributor

dbl-x commented Feb 7, 2021

In JDK1.7 there is a better way to generate random numbers under multithreading.I think we can use ThreadLocalRandom instead normal Random,also we should think over lower version JDK.May I submit a PR for this feature?

Of course, welcome to submit PR to improve the code together.

@dbl-x dbl-x self-assigned this Feb 7, 2021
@dbl-x dbl-x added the dev:tuning Some improvement label Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev:tuning Some improvement
Projects
None yet
Development

No branches or pull requests

2 participants