RST reader: Big speed improvement (300->260ms).

Moved whitespace parser to top of inline parsers.
This commit is contained in:
John MacFarlane 2011-01-22 16:01:42 -08:00
parent b9356fcc7e
commit a6d7d88b0f

View file

@ -709,9 +709,9 @@ table = gridTable False <|> simpleTable False <|>
--
inline :: GenParser Char ParserState Inline
inline = choice [ link
inline = choice [ whitespace
, link
, str
, whitespace
, endline
, strong
, emph