Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Expose encoded lengths for ULEB128 and SLEB128 values

クローズ 初心者向け
#762 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
領域
compilers

調査の方向性

std/bytes/leb128.wave から始め、既存の ULEB128/SLEB128 の読み取り・書き込み操作を確認します。アロケーションやカーソルの変更なしで u64 と i64 の正確な長さのカバレッジを追加し、その後、ゼロ、極値、7 ビット境界、127/128、符号付きの -64/-65、および O0/O2 での writer 位置の比較を検証します。

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

説明

enhancement good first issue needs testing

Motivation

ULEB128/SLEB128 codecs expose read/write operations but no way to compute required encoded length without temporary encoding or duplicate caller logic.

Starting points: std/bytes/leb128.wave.

Scope

Expose exact encoded lengths for u64 ULEB128 and i64 SLEB128, with no allocation or cursor mutation. Keep both encodings together rather than splitting each numeric boundary into a separate task.

Difficulty: easy.

Completion criteria

  • Cover zero, extrema and every seven-bit length transition.
  • Include 127/128 and signed -64/-65 boundaries.
  • Compare reported length with actual writer position changes at O0/O2.
主要言語
Rust
スター
56
フォーク
21
平均マージ
2時間 44分
マージ済み PR(30日)
56

環境構築

はじめの一歩

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

wavefnd/Wave のほかの issue

wavefnd/Wave の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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