PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Option to cache "Show Node Power" feature

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

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

enhancement
主要言語
Lua
スター
5.4k
フォーク
2.4k
平均マージ
1日 12時間
マージ済み PR(30日)
26

説明

Check for duplicates
  • I've checked for duplicate open and closed issues by using the search function of the issue tracker
What platform are you running Path of Building on?

Windows

Is your feature request related to a problem?

No but kinda I guess? Its a "problem" that the "show node power" feature demands so much cpu power/time.

Describe the solution you'd like

(I'm not 100% sure if this is implemented in some form)
Add an option to cache previous calculations since you will often be using the same weapons/skills but there will also need to be a button to recalculate the power nodes in case you make big changes to the build.

Describe alternatives you've considered

Add the option to only focus on notables and ignore all small nodes

No response

Additional context

No response

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず、既存の「Show Node Power」エントリポイントとその計算経路を特定し、同じ build に対する計算を繰り返した場合の測定を行います。キャッシュされた結果を無効化する方法と、手動で再計算する方法を定義します。変更されていない計算を繰り返した場合はキャッシュされた結果を再利用し、build に大きな変更があった場合は更新された node-power 値を生成できれば完了です。

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

評価

技術スタック
lua
領域
desktop, performance
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

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

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