[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] lunamark 0.2 - lpeg-based markdown converter
- From: Miles Bader <miles@...>
- Date: Sun, 18 Sep 2011 15:11:12 +0900
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.