On Sunday 22 August 2010 17:34:55 Andreas Schneider wrote: > uses fgl; > > type > TIntMap = specialize TFPGMap<Integer, Integer>; //Maps Int --> Int
I compared the performance of this generics map to a simple integer list. The map was much slower and it also ate huge amouts of memory, > 1.5 GB. Strange. My data is only some kilobytes, not gigabytes. The code runs in parallel threads. Could that be a problem? Anyway, I will look for some other lookup methods now... Juha _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal