Re:Show HN: Fast and Extensible Parser for Markdown in PHP
by chrismonsanto on Thursday May 22, 2014 @10:02AM
(#7783890)
> That said, has there ever really been an issue with speed as it pertains to markdown translation?
Yes, speed of translation is a big deal. I tried at least 4 Markdown parsers for Python precisely because I needed the right combination of speed and extensibility. When you are constructing a very large static site, a full rebuild can take a long time.
For those wondering, I went with Mistune (http://mistune.readthedocs.org/en/latest/). It is accelerated by Cython.
Re:Show HN: Fast and Extensible Parser for Markdown in PHP
by seer on Thursday May 22, 2014 @09:27AM
(#7783701)
As with most tech, if there such a leap in speed (about 10 times) then a lot of other applications become possible. You could remove a layer of caching because its not needed anymore, thus reducing your app complexity. But apart from that, imagine how many places use markdown? If people all move to a 10 times faster implementation, that an incredible reduction in wasted cpu cycles.
Re:Show HN: Fast and Extensible Parser for Markdown in PHP
by nkozyra on Thursday May 22, 2014 @09:32AM
(#7783723)
My point was not that we shouldn't work to produce even small efficiencies (which, yes, cascade into larger aggregate ones).
It was more wondering whether speed in markdown parsing is such a concern that this would merit a marquee 'selling' point.
Re:Show HN: Fast and Extensible Parser for Markdown in PHP
by oneeyedpigeon on Thursday May 22, 2014 @09:31AM
(#7783714)
If you're building a static site from markdown files, and your site consists of thousands of pages, speed will definitely be a concern.
That said, has there ever really been an issue with speed as it pertains to markdown translation? I can't imagine it's an everyday, practical concern.