[fpc-devel] TStringList.CustomSort

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Nov 7 10:08:57 CET 2006



On Tue, 7 Nov 2006, Micha Nelissen wrote:

> Michael Van Canneyt wrote:
> > Ehm. What has adding/searching to do with sorting ?
> 
> Adding: keep the list sorted.

Use Sorted:=True.

> Searching: ability to use binary search instead of linear.

It is used if Sorted=True.

But not with customsearch.
 
The purpose of Customsearch is to sort the list once using a custom
sorting algorithm.

Michael.



More information about the fpc-devel mailing list