On 23/03/14 03:09 PM, Erick Tryzelaar wrote: > > I've been thinking of a couple alternatives that could make us as fast > as a c state machine. The simplest night be to leverage the fact that > llvm can optimize certain recursive function calls into tail calls, and > lower those into jumps. If we go this route, we could only do this for > internal functions with certain properties, so it could be nice to add a > `#[tail_call] annotation that'll validate these conditions.
It varies per-target and has complex requirements, so checking it isn't really a simple task.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
