lua-users home
lua-l archive

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


Hi,

CGILua does the parsing entirely in Lua and we've found the solution more
than adequate. If you need more speed, caching or memoizing the resulting
function would be quite simple.

Andre Carregal
http://www.keplerproject.org


> -----Original Message-----
> From: lua-bounces@bazar2.conectiva.com.br
> [mailto:lua-bounces@bazar2.conectiva.com.br]On Behalf Of Jeremy Cowgar
> Sent: Tuesday, December 23, 2003 5:12 PM
> To: Lua list
> Subject: Parsing in C vs. Lua
>
>
...
> Without yet doing tests, how would this parsing look if it were done
> in Lua instead of C? (Speed wise)?
>
...
> It may just come down to writing a parser and comparing the two, but
> if anyone has concrete evidence that Lua will be 10x slower than C, or
> something, I may not waste my time.
>
> Thanks,
>
> Jeremy - jc@cowgar.com
> http://modlua.cowgar.com
>