0xMiden / 0xMiden/compiler

Analysis of the MASM to determine where the bulk of the instruction count comes from

未關閉
#852 0 則留言 1 個 reaction 已指派 1 人 已被 @mooori 認領 在 GitHub 檢視
analysis codegen optimization
主要語言
Rust
星號
115
分支
84
平均合併
1 天 8 小時
30 天內合併 PR
15

描述

From https://github.com/0xMiden/miden-base/pull/2205#issuecomment-3700025122:

>would be good to understand where the 70KB size is coming from:
>
> * Assuming the same decorator/code ratio as for hand-written note, the version w/o decorators should be under 20KB.
> * It may also be possible that compiler-generated code inserts more decorators - would be good to double check this.
> * Beyond decorators, I wonder if there are some low-hanging fruit for optimizing the code that could get the size down.
>

貢獻指南

開啟貢獻指南

研究方向

The issue references a pull request comment about analyzing MASM (Miden Assembly) to understand instruction count and size. Start by examining the compiler's code generation, particularly around decorators and instruction output. Look at the MASM output files and profiling tools to identify where bulk instructions originate. Determine if there are optimization opportunities in the generated code or decorator insertion logic.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust
領域
compilers
Issue 類型
重構
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。