Is There Any Performance Difference Between

⚓ Rust    📅 2025-08-17    👤 surdeus    👁️ 2      

surdeus

let y = &x;
let z = y.clone();

and

let y = &x;
let z = *y;

18 posts - 6 participants

Read full topic

🏷️ Rust_feed