Clarification: k and v contents may be modified after returning from Set.
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- go
調査の方向性
Review the documentation for Set and the other methods with the same descriptor, starting with the wording quoted in the issue. Confirm how the methods handle the k and v byte arrays, then revise the text so readers do not interpret it as the methods modifying those arrays; done means the ownership and reuse behavior is unambiguous.
索引モデルが issue の本文から書いたものです。
説明
Several methods have a similar descriptor to the following in the docs:
k and v contents may be modified after returning from Set.
Upon first reading, I assumed that the Set() method would modify the k and v byte arrays and copies should be passed into the fastcache methods.
I couldn't believe it and only after spending some time digging in the source did I realize that these sentences probably meant that the fastcache methods themselves stored copies of the k and v arrays and that you didn't have to worry about reusing the originals.
Just a heads up, I found the particular wording confusing, perhaps consider a slightly different wording.
- 主要言語
- Go
- スター
- 2.4k
- フォーク
- 199
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
VictoriaMetrics/fastcache のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
VictoriaMetrics/fastcache#98 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
VictoriaMetrics/fastcache#80 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
VictoriaMetrics/fastcache#79 · コメント 1 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
VictoriaMetrics/fastcache#75 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
VictoriaMetrics/fastcache#74 ·
VictoriaMetrics/fastcache の issue をすべて見る
似ている issue
-
A failed hydrate call can be dropped when the row's wait is ready too対応中かも @turbot-agent-fleet が今日担当しました。 オープンagent:ready
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
turbot/steampipe-plugin-sdk#1018 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement needs-review
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
router-for-me/CLIProxyAPI#7976 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
uselagoon/lagoon-cli#501 · リアクション 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100