Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Why parallelism has nothing to do with efficiency?

オープン
#26 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust
領域
documentation

調査の方向性

No source file or test is identified. Start by locating the Alternative 3 passage in the book sources, then verify the throughput figures and the explanation of parallelism versus efficiency; done means the numerical example and wording clearly reflect the intended calculation.

索引モデルが issue の本文から書いたものです。

説明

Efficiency is the (often measurable) ability to avoid wasting materials, energy, effort, money, and time in doing something or in producing a desired result.
Parallelism is increasing the resources we use to solve a task. It has nothing to do with efficiency.

Why parallelism has nothing to do with efficiency? You wrote above that it reduces time. This is exactly an increase in efficiency.

==============================================================
Alternative 3
...
Wow! On a busy night where the bartender works non-stop for a few hours, you calculate that they now
only use just over 20 seconds on an order. You’ve basically eliminated all the waiting. Your theoretical
throughput is now 240 beers per hour.

Why 240? Maybe 180?

However, you realize that you didn’t actually accomplish 240 beers an hour, since orders come
somewhat erratically and not evenly spaced over time. Sometimes, the bartender is busy with a new
order, preventing them from topping up and serving beers that are finished almost immediately. In
real life, the throughput is only 180 beers an hour.

You mean ~120 beers an hour?

主要言語
Rust
スター
339
フォーク
97
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PacktPublishing/Asynchronous-Programming-in-Rust のほかの issue

PacktPublishing/Asynchronous-Programming-in-Rust の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。