PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
cache power reports
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 5.4k
- フォーク
- 2.4k
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 26
説明
Check version
- I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- I've checked for duplicate issues by using the search function of the issue tracker
Is your feature request related to a problem?
Power reports are extremely slow to generate, and they are often switched between even without modifying anything.
Describe the solution you'd like
A very simple cache would wok wonders for many use cases. You don't even need to be smart about caching sub-graph, just invalidate on modification. You could also keep a map of the build code to results for when edits are done and reverted often. I do that a lot, but I'm not sure how others use it. These are both pretty low impact changes I would think.
Describe alternatives you've considered
Rewrite in c++ probably isn't a great solution.
Additional context
Also, some progress indicator in a window footer for how much computation still needs to be done would be nice.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では、ファイル、テスト、エントリーポイントが指定されていません。まず power-report の生成フローを特定し、build の変更がどのように検出されるかを確認します。その後、キャッシュと要求されている進捗インジケーターを個別に評価します。変更されていないレポートを繰り返し生成する際に不要な計算が回避され、残りの作業が適切な検証でカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- performance
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100