diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-02-20 00:07:38 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-02-20 00:07:38 -0800 |
commit | 13847267e969b634e9c16c15170e7f217d432e8a (patch) | |
tree | b9123565061306ce1abf2acbf4ceef70d58870cf /src/Text/Pandoc/Readers.hs | |
parent | fc335801ef94ab5bfcb8da75b3da3760c7f1f968 (diff) | |
download | pandoc-13847267e969b634e9c16c15170e7f217d432e8a.tar.gz |
HTML reader: efficiency improvements.
Do a lookahead to find the right parser to use.
Benchmarks from 34ms to 23ms, with less allocation.
Also speeds up the epub reader.
Diffstat (limited to 'src/Text/Pandoc/Readers.hs')
0 files changed, 0 insertions, 0 deletions