zestedesavoir / zmarkdown

Live demo: https://zestedesavoir.github.io/zmarkdown/
MIT License
226 stars 53 forks source link

remark-grid-tables: much faster table start detection #385

Closed vhf closed 4 years ago

vhf commented 4 years ago

I heard that arduino.md was taking a long time to parse and render. Profiling zmarkdown with this file showed that 30% of parsing time was spent in remark-grid-tables.

By fixing the table detection, time to render arduino.md (a ~big file: 15841 lines, 137860 words, 907343 bytes) went from 17s to 7s.