[fpc-devel] Sorting tests

Nikolay Nikolov nickysn at gmail.com
Wed Nov 30 07:30:50 CET 2022


On 11/30/22 08:30, Nikolay Nikolov wrote:
>
> On 11/30/22 01:57, J. Gareth Moreton via fpc-devel wrote:
>> Familarity mostly.  More people are familiar with quicksort than 
>> introsort. Are there any explicit code examples where quicksort 
>> succeeds and introsort fails?  I'm told even Lazarus crashes (or used 
>> to crash), so I'll be interested to see what code causes (or caused) it.
>
> IIRC, Lazarus had a comparison function that returned a<a = false

Sorry, I meant to say a<a = true.

Nikolay



More information about the fpc-devel mailing list