[fpc-pascal] Hello, I suggest that you change the TFPGMap in fgl.

leledumbo leledumbo_cool at yahoo.co.id
Mon Jul 18 01:14:02 CEST 2016

> i don't know why free pascal's map is based on array.

Because the unit was meant mainly for testing the generics support and if
you read the line right before the unit clause:

Still, there's no problem having array backed map, the convenience of map
data structure is still achieved, it's just the speed that matters.  Use
fcl-stl instead, it has gmap which is rbtree backed and ghashmap which is
hashtable backed.

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Hello-I-suggest-that-you-change-the-TFPGMap-in-fgl-tp5725729p5725736.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list