Skip to content
Snippets Groups Projects
Commit 5d6bf3e4 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

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.
parent c65e2e58
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment