Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid subscript reference
Message
 
À
02/12/2006 09:37:03
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01173721
Message ID:
01174616
Vues:
11
Hey Dragan,

>Speed is a minor issue here - alen() is only a few milliseconds slower than retrieving a value of a variable,
>so calling it again doesn't cost much at all. Still, it's an old habit of mine - if it's a function, don't
>call it twice if you don't have to.

With the vast majority of the tasks in VFP being I/O bound in nature, I don't think
that all of us should be that worried about calling a routine that "takes a bit of time."
Specifically, I think we should all be concentrating on maximizing the efficiency of our
queries, caching records in cursors and arrays, and wondering how our apps are going
to respond when multiple users are accessing the same data. That would be time well
spent, IMHO.

Anywho, Dragan, keep doing things the way you're doing them, and I'd only worry about
time considerations when warranted. That's the way I view all of this, anywho.(Shrug.)

Best Regards,

Randall
--
Randall Jouett
Amateur/Ham Radio: AB5NI
I eat spaghetti code out of a bit bucket while sitting at a hash table! Someone
asked me if I needed salt, and I said, "I'm not into encryption." :^)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform