Inefficient encoding of key/values in Layer
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- data
調査の方向性
まず、vector tile 仕様の Layer と Value のエンコーディング定義を確認します。提案されている型ごとのパック済みフィールドを、キー/値の順序と互換性を含め、現在の混合型表現と比較します。完了の条件は、単純な編集ではなく、合意されたエンコーディング設計が得られることです。
索引モデルが issue の本文から書いたものです。
説明
They keys and values use non-packed repeated fields which is inefficient compared to packed repeated fields. In addition the values are each in its own message which needs extra space for the length header. If the values are small integers that could otherwise be encoded in a single byte, this can easily mean they need six times as much space as would be needed otherwise (Value message length + Value message wire type + Value message field number + Layer message wire type + Layer message field number + the value itself).
Unfortunately this can't be changed easily, because the values can be of different types. One option would be to have a repeated string string_value [packed=true], repeated float float_value [packed=true], etc. in the Layer message. But this would mean reordering the keys or having multiple sets of keys for the different types.
- 主要言語
- 言語のデータがありません
- スター
- 1k
- フォーク
- 213
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mapbox/vector-tile-spec のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
mapbox/vector-tile-spec#157 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
mapbox/vector-tile-spec#153 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
mapbox/vector-tile-spec#149 ·
-
Typo in §4.4オープン
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
mapbox/vector-tile-spec#148 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
mapbox/vector-tile-spec#145 · コメント 2 件 · リアクション 1 件 ·
mapbox/vector-tile-spec の issue をすべて見る
似ている issue
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 3 日以内に返信
-
[Bug] cloud JSON directory loading assumes a Key field in fsspec listings対応中かも @Ricardo-M-L が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
hiyouga/LlamaFactory#10910 ·
メンテナーはふだん 1 日以内に返信
-
kind:bug state:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenLineage/OpenLineage#5100 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
aggfuncオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
worldbank/blackmarblepy#160 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100