Skip to main content
Run any Skill in Manus
with one click

dynamic-panel-render-cost

Stars3
Forks0
UpdatedJuly 2, 2026 at 23:47

Manipulate/DynamicModule/Dynamic ベースの一覧パネル (SourceVault ワークフロー一覧・ 保存プロンプト一覧など) が「一瞬フリーズしてから $Aborted」になり中身が出ない事故の 原因と直し方。真因は (1) DynamicModule の body や Dynamic[...] の中身の評価は FE の 評価予算で外部 Abort される (通常セル評価と違い時間切れで $Aborted になる)、 (2) Grid 描画 Dynamic の中で「行ごとに重い全走査関数」を呼ぶと row*N 倍のコストで 予算超過する、の 2 点。重いデータは DynamicModule の外 (公開関数の通常評価) で先に 算出して焼き込み、繰り返し読む registry はキャッシュし、行ごとの重い lookup は NextFire 等の不要フィールド計算を外す。headless で再現しないときは FE だけがロード する副パッケージ (SourceVault_autotrigger 等) の差分を疑う。 Use when a Wolfram panel/palette shows $Aborted (especially after a brief FE freeze) instead of its list/grid, when a DynamicModule/Manipulate UI is slow to render or gets aborted, when adding per-row badges/status cells to a list Grid, or when a UI bug reproduces in the FrontEnd but not in headless wolframscript. 関連 rules: 95 (ScheduledTask 安全)。関連 skill: ui-output-font-customization, wolfram-syntax-pitfalls。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly