ENH: HashTable improvements
- optimize erasure using different HashTable based on its size. Eg, hashtable.erase(other); If 'other' is smaller than the hashtable, it is more efficient to use the keys from other to remove from the hashtable. Otherwise simply iterate over the hashtable and remove it if that key was found in other.
Please register or sign in to comment