diff options
| author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-11-28 03:22:18 +0000 |
|---|---|---|
| committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-11-28 03:22:18 +0000 |
| commit | d1b80f8f350c7588ba2c95f2c4a646f7af5a5cb3 (patch) | |
| tree | 2d27c04cfccdd5f6606219c1277428ed20cbefc7 /tests/tables.opendocument | |
| parent | 1d440130c431405f7edbd7d8beae584101debbb6 (diff) | |
| download | pandoc-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 'tests/tables.opendocument')
0 files changed, 0 insertions, 0 deletions
