Skip to content

Address #240: Speed up set-difference

Raymond Toy requested to merge issue-240-set-diff-with-hash-table into master

Use a hashtable to speed up set-difference when the test is suitable and the lists are long enough. We hash the second list if we think it will speed things up.

Edited by Raymond Toy

Merge request reports