|
Wildmeshing Toolkit
|
Classes | |
| struct | Stripe |
Private Member Functions | |
| Stripe & | stripe (const uint64_t key) const |
Private Attributes | |
| std::unique_ptr< Stripe[]> | m_stripes = std::make_unique<Stripe[]>(n_stripes) |
Static Private Attributes | |
| static constexpr size_t | n_stripes = 1024 |
The count behind is_queued(): per key, the queued elements not yet tried or dropped. Striped, so threads queueing and finishing elements of different keys rarely meet on a lock; a single mutex (threading::concurrent_map) would be taken by every thread for every queued split.