UniqueUniqueHashIf a partition doesn't fit in memoryRecursion: Partition the partition. Cost of UniqueHashPretty much the same as sorting! log(N/B) / log(B) passes. ConclusionUniqueSort seems better than UniqueHash. Sorted data is often useful! Yet UniqueHash is available in some database systems. |