Hi,

I was reading https://github.com/mozilla/rust/wiki/Bikeshed-tailcall and
wondered about the statement "Tail calls cannot be implemented in general
without a serious performance hit for all calls". I've never heard this
before. tjc speculated it had to do with decrementing refcounts on normal
function returns, but our discussion didn't reveal any obvious reasons.

What is the reason for this performance hit on all calls?

Thanks,
Matt
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to