[fpc-pascal] TFPGMap retrieving values

Sven Barth pascaldragon at googlemail.com
Sat May 2 13:29:41 CEST 2020


Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
Sa., 2. Mai 2020, 12:33:

>
>
> > On May 1, 2020, at 10:18 PM, Sven Barth <pascaldragon at googlemail.com>
> wrote:
> >
> > It is a map. It maps keys to values. Nowhere does it say how the map is
> implemented.
> >
> > If you need to decide which map to use I suggest you to look at this
> benchmark page: http://www.benibela.de/fpc-map-benchmark_en.html You can
> select various of the maps that FPC supports (both ones distributed with
> FPC and third party ones) and compare them.
>
> I thought it was a hash map! From the page:
>

And as I said: it's nowhere required that a map is a hash map. It was
simply an assumption you made.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200502/1fbb89dc/attachment.html>


More information about the fpc-pascal mailing list