On Sun, 2 Dec 2012 10:59:02 +0200
Juha Manninen <[email protected]> wrote:

> On Sun, Dec 2, 2012 at 10:39 AM, Alexander Klenin <[email protected]> wrote:
> > quicksort is unstable, which is not good when sorting non-trivial 
> > containers.
> 
> How is it unstable? I may have gaps in my knowledge.

http://en.wikipedia.org/wiki/Sorting_algorithm

Quicksort has some more drawbacks, of which some can be easily
remedied. The FCL implementation has some of these improvements.


> Yes, the lack of standard algorithms and container classes is a big
> problem. I must study the improved FCL-STL.


Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to