So I have been playing around with random numbers in both java and C++ and have noticed that when having a for loop repeating thousands of times, generating random numbers, the ones in java get generated some seconds after launch whilst in C++ it propably takes 30 seconds to generate the same amount of numbers. Is there any way to speed up this process in C++ or are the two languages using a total different way to create them?
Aucun commentaire:
Enregistrer un commentaire