Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do nesting level
Message
From
28/09/2001 11:53:48
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00557186
Message ID:
00561959
Views:
24
Vlad:

> Custom algorithm over large number of object will work slowly, it cannot be more quick than a C++ routine in ASORT(). Also, there are only a few lines of code for this approach, when custom sorting algorithm is a lot of programming...

I disagree.

ASORT is not always faster than a custom program because ASORT uses one of the sorting algorithms and there is no single algorithm that is faster than all other algorithms when sorting arrays whose elements may or may not be randomly ordered. ASORT is fast but it's not always the best thing to use if you have a good idea how the elements are distributed within the array.

Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform