hash table for efficiency. Collections describes the classes supporting hash tables. In the floating-point domain, where the types are built in, you need just one function to map (hash) a floating-point value to an unsigned long, for use with a hash table of floating-point values.
HashValue nextHashValue = Hash(nextDataItem);