Skip to content

Improve normalization performance and fix double entity decoding. - #22

Merged
koculu merged 1 commit into
mainfrom
normalization-perf
Oct 8, 2026
Merged

koculu merged 1 commit into
mainfrom
normalization-perf

Conversation

@koculu

@koculu koculu commented Oct 8, 2026

Copy link
Copy Markdown
Member

Summary

Improve normalization performance and fix double entity decoding detected by CodeQL scan.

Changes

Replace quadratic regex operations with linear matching in email style normalization, CSS property hyphenation, sitemap URLs, and navigation roots. Decode MiniDOM entities in one pass to preserve nested entity text.

Added regression coverage for large inputs and decoding behavior. All targeted tests, Biome checks, and MiniDOM TypeScript checks pass.

@koculu
koculu merged commit 7de0e1f into main Oct 8, 2026
5 checks passed
@koculu
koculu deleted the normalization-perf branch October 8, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant