[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: On lua5 and embedding
- From: Björn De Meyer <bjorn.demeyer@...>
- Date: Fri, 31 Jan 2003 01:53:16 +0100
Roberto Ierusalimschy wrote:
> This is one point I do not argue (although, as the tests sugest, this
> difference is quite smaller when the function does anything). But this
> slowdown is a consequence of coroutines, not of metatables. If someone
> argues that we shold remove coroutines from the language so it would run
> faster, then we have a very different scenario.
> -- Roberto
That's a slowdown I'll gladly accept. I have just discovered how
elegant coroutines are for event-oreinted programming...
Still, maybe there are some people who'd like to disable
their coroutines? For those people, perhaps some
#define LUA_NOCOROUTINES could be implemented to allow
turning off the coroutines?
"No one knows true heroes, for they speak not of their greatness." --
Björn De Meyer