From ab100f7c5e5174620e8cff8dc965be68a1f3ba5a Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Thu, 30 Apr 2009 04:39:45 +0000 Subject: Markdown reader: improved efficiency of abbreviation parsing. Instead of a separate abbrev parser, we just check for abbreviations each time we parse a string. This gives a huge performance boost with -S. Resolves Issue #141. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1570 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/testsuite.native | 2 +- tests/writer.native | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/testsuite.native b/tests/testsuite.native index 875918b9e..5f2459ffb 100644 --- a/tests/testsuite.native +++ b/tests/testsuite.native @@ -165,7 +165,7 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane [ [ Plain [Str "Nested",Str "."] ] ] ] ] , Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"] -, Para [Str "M",Str ".",Str "A.\160",Str "2007"] +, Para [Str "M.A.\160",Str "2007"] , Para [Str "B",Str ".",Space,Str "Williams"] , HorizontalRule , Header 1 [Str "Definition",Space,Str "Lists"] diff --git a/tests/writer.native b/tests/writer.native index 875918b9e..5f2459ffb 100644 --- a/tests/writer.native +++ b/tests/writer.native @@ -165,7 +165,7 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane [ [ Plain [Str "Nested",Str "."] ] ] ] ] , Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"] -, Para [Str "M",Str ".",Str "A.\160",Str "2007"] +, Para [Str "M.A.\160",Str "2007"] , Para [Str "B",Str ".",Space,Str "Williams"] , HorizontalRule , Header 1 [Str "Definition",Space,Str "Lists"] -- cgit v1.2.3