lua-users home
lua-l archive

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


Petite Abeille <petite.abeille@gmail.com> writes:
>> If you have a chance, could you include in your benchmark David
>> Parsons' Discount library?
>
> Never mind. It's there already :)
>
> 	• discount 0.14s
> 	• lunamark 0.42s
> 	• peg-markdown 0.50s
> 	• pandoc 4.97s
> 	• Markdown.pl (1.0.2b8) 56.75s
> 	• markdown.lua 996.14s

One of the cool things about LPEG is that, after you get all excited
by how easy it is to write parsers, you then discover that it's _also_
gut-churningly fast... (and that's true even if you're doing tons of
Lua callbacks, especially if you're using LuaJIT)

-Miles

-- 
History, n. An account mostly false, of events mostly unimportant, which are
brought about by rulers mostly knaves, and soldiers mostly fools.