Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index on descending dates as part of expression
Message
De
24/08/2001 20:46:14
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, États-Unis
 
 
À
24/08/2001 18:30:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00548638
Message ID:
00549080
Vues:
15
Hi Craig,

Yes, good call. Testing is always warranted. Here, given that both of the two index key approaches,

... + str( SomeDate - AnotherDate )
vs.
... + bintoc( SomeDate - AnotherDate )

require a VFP function call, the index size seems to make some difference albeit relatively marginal. Bintoc() seemed (earlier informal tests on a local drive) to be in the range of five to maybe twenty percent faster depending on the table's size. Not enough to go back and retrofit changes.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform