Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Do This With A JOIN?
Message
De
03/01/2006 16:04:42
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
03/01/2006 15:38:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01081733
Message ID:
01082859
Vues:
11
>>Interesting. Timer because it has a small RAM footprint. CTOBIN instead of BUF2NUM is faster. Why do this?
>>
>>
PRIVATE lcCurrentBuffer
>>STORE "     " to lcCurrentBuffer
>>
>A literal string reduce the overhead.

PRIVATE lcCurrentBuffer reduces the overhead? It takes time to execute the line.

BTW, this will crash if ADLLS returns 0
ADLLS(laDlls)
IF EMPTY(ASCAN(laDLLs,"QueryPerformanceCounter",1,-1,2,15))

This is better?

LOCAL m.lnDLLs
m.lnDlls = ADLLS(laDlls)
IF m.lnDLLs = 0 ;
OR ASCAN(laDLLs,"QueryPerformanceFrequency",1,-1,2,15) = 0
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform