Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do Factorials in VFP with Recursion
Message
De
23/02/2000 21:01:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00335196
Message ID:
00336474
Vues:
14
>Do you believe using random numbers is a good method of testing this?
>
>One method may have been using greater numbers and one method using lesser numbers.
>
>If you want to randomize the test numbers, stick them in an array or something and run the test with that array. But use the same number set to test the two (or more) methods.

You have your point here, but when it comes to generating random numbers between 1 and 12 and use thousands
of such numbers... the test is ok. I didn't want to determine the precise performance gain of one solution over the other.
I only wanted to get an approximation.

Besides that, DF used random numbers, so, I had to use the same method.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform