classsem fix-forward: fastify .text +86 KB (per-class birth-shape/name data?)

クローズ
#12,486 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust, typescript

調査の方向性

Start by reviewing the class-semantics changes in #12210, #12211, #12202, and #12396, then measure .text size per class site in fastify and tsc against other programs. Identify the source of the extra per-class bytes and compare it with the stated inline-size rule. Done means the per-class growth is reduced to a few KB per program while instructions remain flat.

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

説明

After the class-semantics fix (fix/classsem: #12210 #12211 #12202 #12396), fastify's .text grows +86 KB (+0.19%) and tsc's +45 KB, while most programs grow about +4.6 KB (the fixed runtime and codegen paths). The per-class growth isn't attributed. Likely per-class birth-shape and name data over many classes. Measure bytes per class site and shrink to the inline-size rule (a few KB per program). Instructions are flat on all programs.

主要言語
Rust
スター
4.9k
フォーク
166
平均マージ
3時間 29分
マージ済み PR(30日)
874

環境構築

はじめの一歩

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

PerryTS/perry のほかの issue

PerryTS/perry の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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