Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which is faster, compare object or string?
Message
De
25/12/1999 11:14:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/12/1999 10:41:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00308550
Message ID:
00308555
Vues:
25
>Hi,
> I need to compare an object in my program. I am comparing object.name to match each other. I would like to ask which is faster between compare object and compare string?
>
>Thank you


John,
String comparison might be faster but doesn't provide comparison for objects. Check my reply to ascan() to see why (there could be two or more different objects with the same name at the same time).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform