lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Alex Queiroz wrote:
[...]
>      Yes, but not everytime you call one of the state functions. I
> don't see a problem here.

I'm using it[*] for a compiler backend, where state functions correspond
to basic blocks in a top-level function, and an entire state machine
corresponds to a single top-level function. Which means I'm calling my
state machines recursively a lot. As I said, one size does not fit all.


[*] Or rather I *would* be using it, but Lua didn't have goto --- it
would constructive to update the clue backend to use the new Lua 5.2
beta and see what the performance difference is like.

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "I have always wished for my computer to be as easy to use as my
│ telephone; my wish has come true because I can no longer figure out
│ how to use my telephone." --- Bjarne Stroustrup

Attachment: signature.asc
Description: OpenPGP digital signature