issues
search
mogera551
/
quel
more declarative javascript front-end-framework
MIT License
0
stars
0
forks
source link
高速化、ループコンテキストのインデクス取得時にキャッシュを使う
#44
Closed
mogera551
closed
4 months ago
mogera551
commented
4 months ago
リビジョン情報
コンポーネントは、リビジョン情報を持つ
各ループコンテキストも、リビジョン情報を保持している
updateNodeで、expandableの更新が終わった後、
バインドの構成は確定している。
コンポーネントのリビジョンをカウントアップする。
ループコンテキストで、インデックスを計算する際、コンポーネントのリビジョン情報と比較し
一致するなら、キャッシュのインデックス値を返す
一致しない場合、インデックスを計算し返し、その値をキャッシュに保存する、リビジョンを更新する
リビジョン情報
updateNodeで、expandableの更新が終わった後、