[Coco] the final stage of optimization

Robert Gault robert.gault at worldnet.att.net
Fri Nov 20 08:13:13 EST 2009


Wayne,

You do have a knack for asking questions which at first glance seem 
simple but are actually the subject of major areas of research. :)

Search and sort is just such an area. Try to find the series of books 
"The Art of Computer Programming" by Donald E. Knuth. Volume 3 is 
devoted to just Sorting and Searching.

The algorithm that works best for you may not be an optimal one. The 
main concern is the number of items to be searched, how often they are 
searched, and whether the list is random or ordered.

I would not presume to recommend any particular algorithm. As has 
already been suggested, search the Internet for routines that work best 
with your type of target list.



More information about the Coco mailing list