Skip to content

Use rand() instead of QRandomGenerator for performance reasons#5

Open
drpeterfranz wants to merge 1 commit intosandsmark:masterfrom
drpeterfranz:sftptest-use-rand
Open

Use rand() instead of QRandomGenerator for performance reasons#5
drpeterfranz wants to merge 1 commit intosandsmark:masterfrom
drpeterfranz:sftptest-use-rand

Conversation

@drpeterfranz
Copy link
Copy Markdown

When running tests I found that QRandomGenerator took ages (literally minutes) to generate random numbers for the test binary data. Using rand() instead decreases this time to non-noticable. Since no high-quality random numbers are required for the testing purposes the choice of rand() should be justified.

@drpeterfranz
Copy link
Copy Markdown
Author

@sandsmark can you please have a look why the pipeline fails?

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.

1 participant