Commit 8f857627 authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

use relaxed atomics for operating on the seen set count

The aim here is eke out a little extra performance from set_insert(). Thanks to
a blog post from Travis Downs [0] for the inspiration here.

  [0]: https://travisdowns.github.io/blog/2020/07/06/concurrency-costs.html
parent 9c213bc3
Supports Markdown
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