+--------------------------+------------------------+-----------------------+
| β simple markdown string β large markdown string |
+--------------------------+------------------------+-----------------------+
| markdown-to-jsx (7.7.4) β 92,671 ops/sec β 330 ops/sec |
+--------------------------+------------------------+-----------------------+
| markdown-to-jsx (7.7.3) β 91,164 ops/sec β 301 ops/sec |
+--------------------------+------------------------+-----------------------+
Patch Changes
- adc08c7: Further optimize the plain text splitting regex.
- c8bc5f3: Remove redundant detectors when processing paragraphs.
- d96a8d8: Replace some regexes with optimized functions to avoid polynomial time scenarios. Also fixes compatibility issues in some older browsers with the
trimEnd
API. - 7be3d77: Optimize regexes and parsing to do less work.
- cf7693c: Rework inline code syntax handling, handle escaped characters in code blocks correctly so they render without the backslash.