lierdakil / pandoc-crossref

Pandoc filter for cross-references
https://lierdakil.github.io/pandoc-crossref/
GNU General Public License v2.0
909 stars 73 forks source link

Inefficiency in splitMath #445

Open lierdakil opened 5 days ago

lierdakil commented 5 days ago

https://github.com/lierdakil/pandoc-crossref/blob/ad9af798037eb6d67994c22c601c8bdaaddd49c3/lib-internal/Text/Pandoc/CrossRef/References/Blocks/Math.hs#L68

That length wastes some serious CPU.