Maruku: a better Markdown interpreter for Ruby.

John Gruber gruber at
Fri Dec 29 17:35:38 EST 2006

Andrea Censi <andrea at> wrote on 12/28/06 at 11:46 PM:

> I was surprised to see it's already comparable in speed. :-D

> Probably the magic is in the line-oriented parser: I'm using regexp

> only for span-level elements.

Yeah, I'll bet yours makes fewer copies of the entire source
input. With Ruby in particular, that's probably fairly expensive.
Good to see that the benchmark looks good.


More information about the Markdown-Discuss mailing list