On Wed, 24 Oct 2007, Graeme Geldenhuys wrote:
> Hi, > > Whats the difference between these??? Don't they do the same thing? > And if so, why does FPC duplicate the efforts in the contnrs.pp unit? > For the online docs they seem to do the same. > > > TFPHashList vs TFPDataHashTable > TFPHashObjectList vs TFPObjectHashTable > One is more extensible as the other. This is also explained in the docs, as far as I remember. If you're just going to use the class as-is, it doesn't really matter which one you use. As with many 'general' classes, it's slightly slower than the special class... Michael. _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
