aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/LaTeX.hs
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-11-28 03:22:18 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-11-28 03:22:18 +0000
commitd1b80f8f350c7588ba2c95f2c4a646f7af5a5cb3 (patch)
tree2d27c04cfccdd5f6606219c1277428ed20cbefc7 /src/Text/Pandoc/Writers/LaTeX.hs
parent1d440130c431405f7edbd7d8beae584101debbb6 (diff)
downloadpandoc-d1b80f8f350c7588ba2c95f2c4a646f7af5a5cb3.tar.gz
Markdown reader: parse refs and notes in the same pass.
Previously the markdown reader made one pass for references, a second pass for notes (which it parsed and stored in the parser state), and a third pass for the rest. This patch achieves a 10% speed improvement by storing the raw notes on the first (reference) pass, then parsing them when the notes are inserted into the AST. This eliminates the need for a second pass to parse notes. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1629 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Text/Pandoc/Writers/LaTeX.hs')
0 files changed, 0 insertions, 0 deletions