Skip to content

Commit ae0255d

Browse files
authored
Fixed comment
1 parent 92ec38f commit ae0255d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/queue_comparison_benchmark.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static void BM_ThisQueue_SingleItem_Write256(benchmark::State& state) {
8787
while (!( consumer_should_stop.load(std::memory_order_relaxed)
8888
&& queue.get_num_items_ready() == 0))
8989
{
90-
// Always read much items from the queue as they are ready
90+
// Always read as many items from the queue as they are ready
9191
const size_t items_read = queue.try_read(QueueCapacity, [&](auto b1, auto b2) {
9292
for (const auto& item : b1) {
9393
if (item != random_data[(received_count++) % RandomDataSize]) {

0 commit comments

Comments
 (0)