Implementation limits for `configureAll`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- wasm
- 領域
- compilers
調査の方向性
まず configureAll メソッドと、構造体フィールドに対する既存の実装上の制限を確認します。プロトタイプおよびコンストラクターごとのプロパティとメソッドについて相互運用可能な上限を決定し、その上限を超える値に対する動作を定義します。上限と、メソッドをインストールする前に configureAll が例外をスローする箇所が一貫して定義されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The configureAll method allows creating JS objects with a potentially large amount of fields.
Similarly to how we have implementation limits for the number of fields in a structure, it probably makes sense to limit the number of properties / methods we allow to setup using configureAll in a JS object.
JS implementations surely have internal limits on object sizes (V8 definitely does), so they will eventually crash or throw if the number of properties is excessively large. To ensure consistency and interoperability between implementations, it's probably useful to have such a limit be spec'ed, similar to other Wasm limits, a value of 10K or 100K properties per prototype and constructor might work.
A value higher than the limit should throw before any method is installed on the "current" prototype / constructor object in the configureAll configuration data (so semantically at the point where the vector size in the configuration data is located).
- 主要言語
- WebAssembly
- スター
- 13
- フォーク
- 3
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
WebAssembly/custom-descriptors のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
WebAssembly/custom-descriptors#132 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
WebAssembly/custom-descriptors#125 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
WebAssembly/custom-descriptors#107 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
WebAssembly/custom-descriptors#100 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
WebAssembly/custom-descriptors#95 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
WebAssembly/custom-descriptors の issue をすべて見る
似ている issue
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
microsoft/DirectXShaderCompiler#9155 ·
メンテナーはふだん 2 日以内に返信
-
Bisect issue244457オープンbisect
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
dtcxzyw/llvm-bisect-service#940 · コメント 1 件 ·
-
bug cli sev-5
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
@loadable on a client field whose parent is neither a root type nor has an id panics the compilerオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
isographlabs/isograph#1023 ·
メンテナーはふだん 1 日以内に返信