rust-sthash icon indicating copy to clipboard operation
rust-sthash copied to clipboard

Arc replaces Rc

Open alienscience opened this issue 3 years ago • 0 comments

This PR resolves #15.

The PR contains two commits:

  • Replace Rc with Arc so that the Hasher can be cloned and sent to different threads.
  • A test to demonstrate sthash working with the Rayon crate.

The change to Arc did not change the benchmark results when I ran them.

alienscience avatar Apr 16 '22 06:04 alienscience