Hey guys,
the number_ex functon is used for nearly all the random numbers/calculations, so me and Fliegex3
did some research and found a nice header only library which improves it quite a lot by using the
Xoroshiro algorithm.
When i got some more time i will update the thread with the goal to completly remove the usage of the basic random function.
Its not fully tested, so some feedback is appreciated.
ATTENTION: at least c++17 is required
Bitte melden Sie sich an, um dieses Bild zu sehen.
Without Xoroshiro:
Code
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 10 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 10 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 8 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 8 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 7 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 9 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 7 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 7 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 7 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 7 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 8 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 9 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 7 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 7 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 7 microseconds
- SYSERR: Dec 6 13:38:12 :: number_ex: Time number_ex: 7 microseconds
With Xoroshiro:
Code
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 2 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 2 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 2 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 2 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 2 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 2 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds
- SYSERR: Dec 6 13:35:57 :: number_ex: Time number_ex: 1 microseconds