Contains, as it stands, is an expensive routine. The default implementation in Link checks every page for the entry, and the Dict ones both always load one page minimum. For elements not in the structure, a hash based filter such as the Bloom Filter or the Cuckoo Filter (uses Cuckoo Hashing).
Contains, as it stands, is an expensive routine. The default implementation in Link checks every page for the entry, and the Dict ones both always load one page minimum. For elements not in the structure, a hash based filter such as the Bloom Filter or the Cuckoo Filter (uses Cuckoo Hashing).