ya7on/mb8

Use owned value instead of pointer in compiler pipeline

Closed

#83 aperta il 27 dic 2025

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (3 fork)auto 404
bugcompilergood first issuehelp wanted

Metriche repository

Star
 (5 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

At some compiler stages we clone this value. But could just pass the owned value without cloning and referencing it

https://github.com/ya7on/mb8/blob/bea1fedb454640e4250bb9e1deaf471180ce6613/crates/mb8c/src/pipeline.rs#L39-L44

Guida contributor