Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store Command
Message
 
 
À
22/08/2001 10:08:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00546986
Message ID:
00547251
Vues:
22
>Sergey,
>
>I wondered what Craig might be getting at with "...set up properly...". The only thing I could think of was actually having a table field with the same name in the active program.
>So I did a test like yours, but opened a table first and used a memvar name identical to a field name.
>
>The results I got for 1,000,000 executions of each were:
>
>1) With m. on both sides = 1.158 seconds
>2) With m. on right only = 1.018 seconds
>    - Difference is .140 seconds per 1,000,000
>
>For comparison, the same test WITHOUT a table opened yielded:
>
>1) With m. on both sides = 0.920 seconds
>2) With m. on right only = 0.777 seconds
>    - Difference is .143 seconds per 1,000,000
>
>
>This is a small enough difference that I will continue to use m. on both sides.
>
>JimN
>

Jim,

Works for me too. Still it's good to know that I can squieze a cople milliseconds of the tough loop by dropping m. on the left side of assigment :)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform