David Emerson wrote:
lists containing the same elements: one sorted, one unsorted. The reason to have both: sorted -> fast search; unsorted -> sequential navigation through the list while elements are being added.
It's not as if combining those gives you the best of both worlds ... if the sorted list needs to keep its list sorted, having the sequential list won't make iterating faster ...
Micha _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal