Encoding unit — one grounded idea

1 In Mojo, if a value is not explicitly marked with the 'owned' keyword, it is copied when reused, otherwise it is moved into the function and becomes unavailable.
“if I remove that, then it will do the optimal behavior. So it will still move if I don't reuse it. But then if I do reuse it, then it will do a copy.”
spoken · 551s · 2024-05-13 · en-US · Modular · Mojo🔥: a deep dive on ownership with Chris Lattner
id: f07fa274999f0a29
concepts in this idea