| Parameter | Description |
|---|---|
| container | The hash map. |
UnsafeParallelHashMapBucketData A "bucket" view of this hash map.
Returns a "bucket" view of this hash map.
Internally, the elements of a hash map are split into buckets of type UnsafeParallelHashMapBucketData.
With buckets, a job can safely access the elements of a hash map concurrently as long as each individual bucket is accessed
only from an individual thread. Effectively, it is not safe to read elements of an individual bucket concurrently,
but it is safe to read elements of separate buckets concurrently.
| Parameter | Description |
|---|---|
| container | The multi hash map. |
UnsafeParallelHashMapBucketData A "bucket" view of this multi hash map.
Returns a "bucket" view of this multi hash map.
Internally, the elements of a hash map are split into buckets of type UnsafeParallelHashMapBucketData.
With buckets, a job can safely access the elements of a hash map concurrently as long as each individual bucket is accessed
only from an individual thread. Effectively, it is not safe to read elements of an individual bucket concurrently,
but it is safe to read elements of separate buckets concurrently.