[rust-dev] tail-call performance issue?
thegreendragon at gmail.com
Wed Jan 25 10:42:33 PST 2012
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rust-dev