johannhof / markdown.rs

Rust Markdown parsing library
Apache License 2.0
136 stars 44 forks source link

Multiple performance improvements #49

Closed Phlosioneer closed 1 year ago

Phlosioneer commented 2 years ago

Major improvements to memory usage and parsing speed. Benchmark pre-pull-request on large markdown file: 3,000,000ns Benchmark after this pull-request: 400,000ns No breaking API changes.

Fixes a few bugs, including the handling of escaped characters inside of emphasis spans.