Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do nesting level
Message
De
28/09/2001 11:53:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00557186
Message ID:
00561959
Vues:
26
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform