On Sat, 16 Feb 2019, AlexeyT wrote:
Hello. Can you pls, add Sorted property to TFPSList / TFPGList (Add()
method must sort newly added item), and also Find method (which must use
binary search in Sorted case, and use plain loop if not sorted)?
You can use the rtl-generics
Am Sa., 16. Feb. 2019, 21:30 hat AlexeyT geschrieben:
> Hello. Can you pls, add Sorted property to TFPSList / TFPGList (Add()
> method must sort newly added item), and also Find method (which must use
> binary search in Sorted case, and use plain loop if not sorted)
>
You could also check
Hello. Can you pls, add Sorted property to TFPSList / TFPGList (Add()
method must sort newly added item), and also Find method (which must use
binary search in Sorted case, and use plain loop if not sorted)?
--
Regards,
Alexey
___
fpc-pascal