QSsh icon indicating copy to clipboard operation
QSsh copied to clipboard

Use rand() instead of QRandomGenerator for performance reasons

Open drpeterfranz opened this issue 3 years ago • 1 comments

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 avatar Oct 04 '22 19:10 drpeterfranz

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

drpeterfranz avatar Oct 13 '22 18:10 drpeterfranz