Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does it matter where a func code reside?
Message
De
10/07/2013 10:34:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01578092
Message ID:
01578096
Vues:
61
>Hi,
>
>I have a function (fairly small) that loads a cursor from XML (application configuration values). This function can be in the main application .PRG or in some other MISC_FUNC.PRG (loaded in the main .PRG via SET PROCEDURE TO MISC_FUNC ADDITIVE). Does it matter for the speed of the program is this function in one place or the other? Any other things to consider as far as the place for this function?
>TIA
there is the order vfp searches - but with todays HW I woud not think about it unless the "calling structure" is seriously skewed: If you need the function in one palce in a tight loop trillions of times, the best loc should be in the prg of the tight loop
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform