And here it is against a larger file (only 26 MB bc pandoc freaks out on huge files). For reference, pandoc used >3.5GB of RAM for this. 69.27s vs 0.47s!
Repo: https://github.com/srburk/MarkCore. It's built as a static lib by default since I made it to embed into another project where I wanted to control dependencies.
GitHub - srburk/MarkCore
Contribute to srburk/MarkCore development by creating an account on GitHub.