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

Do not instantiate multiple Random instances within SqlFixedIntervalEnumerator #996

Merged

Conversation

watfordgnf
Copy link
Contributor

Do not continually recreate Random instances inside SqlFixedIntervalEnumerator.GetNextInterval.

https://docs.microsoft.com/en-us/dotnet/api/system.random?view=net-5.0#Multiple

Do not continually recreate Random instances inside SqlFixedIntervalEnumerator.GetNextInterval.

https://docs.microsoft.com/en-us/dotnet/api/system.random?view=net-5.0#Multiple
@cheenamalhotra cheenamalhotra added this to the 3.0.0-preview2 milestone Mar 19, 2021
@cheenamalhotra cheenamalhotra merged commit 0cd0971 into dotnet:main Mar 19, 2021
@watfordgnf watfordgnf deleted the fixedintervalenumerator-random branch March 22, 2021 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants