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

Replace rand() with a better implementation #444

Open
ProgerXP opened this issue Oct 9, 2022 · 0 comments
Open

Replace rand() with a better implementation #444

ProgerXP opened this issue Oct 9, 2022 · 0 comments

Comments

@ProgerXP
Copy link
Owner

ProgerXP commented Oct 9, 2022

Replace rand() in n2e_GenerateRandom(), srand() and rand() in EditSortLines() and srand() in n2e_Init(). There are better yet small quality generators: https://github.com/bryc/code/blob/master/jshash. There is also the well known MT generator: http://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/emt.html. Pick any that you like.

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

No branches or pull requests

1 participant