Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which is faster, compare object or string?
Message
From
25/12/1999 11:14:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/12/1999 10:41:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00308550
Message ID:
00308555
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform