Skip to content
  • Mark OLESEN's avatar
    5d6bf3e4
    ENH: HashTable improvements · 5d6bf3e4
    Mark OLESEN authored
    - 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.
    5d6bf3e4
    ENH: HashTable improvements
    Mark OLESEN authored
    - 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.
Loading