We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ec38f commit ae0255dCopy full SHA for ae0255d
benchmarks/queue_comparison_benchmark.cpp
@@ -87,7 +87,7 @@ static void BM_ThisQueue_SingleItem_Write256(benchmark::State& state) {
87
while (!( consumer_should_stop.load(std::memory_order_relaxed)
88
&& queue.get_num_items_ready() == 0))
89
{
90
- // Always read much items from the queue as they are ready
+ // Always read as many items from the queue as they are ready
91
const size_t items_read = queue.try_read(QueueCapacity, [&](auto b1, auto b2) {
92
for (const auto& item : b1) {
93
if (item != random_data[(received_count++) % RandomDataSize]) {
0 commit comments