openclaw/packages/markdown-core
Peter Steinberger 8a69d41e12
perf(markdown): reduce progress-note formatting overhead (#147602)
Skip HTML ownership parsing when no literal tag opener exists and advance
through ordered text spans once when tags are possible. Preserve code,
link-title, escape, raw-text, and malformed-markup behavior.

The actual progress-note owner showed about 80% lower time for rich notes
without angle brackets and 9-10% for mixed HTML in both measured orders.
All 14 output cells matched; adverse controls and higher child RSS remain
recorded, with no whole-Gateway or memory benefit claim.

Validation: 119 focused tests passed; fresh P2 source review was clean.
2026-09-13 20:21:10 -07:00
..
src perf(markdown): reduce progress-note formatting overhead (#147602) 2026-09-13 20:21:10 -07:00
package.json fix(markdown): preserve inline code content across renderers (#137812) 2026-09-03 21:39:26 -07:00