Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
This algorithm has very low contention both at the lookup and actual insertion phases in exchange for the possibility that computations have to be started over if some other thread interferes in the process by performing a succesful insertion beginning at the same group. In practice, the start-over frequency is extremely small, measured in the range of parts per million for some of our benchmarks.缩减哈希值被设置),并且插入计数器被原子地递增:如果在整个操作过程中没有其他线程递增该计数器(通过与 `c0` 比较来检查),则插入操作可以顺利完成,否则将回滚并重新开始。