Skip to content

perf(parser): don't process the whole page to detect its format#4058

Merged
fguillot merged 1 commit intominiflux:mainfrom
jvoisin:stopp
Feb 14, 2026
Merged

perf(parser): don't process the whole page to detect its format#4058
fguillot merged 1 commit intominiflux:mainfrom
jvoisin:stopp

Conversation

@jvoisin
Copy link
Collaborator

@jvoisin jvoisin commented Feb 13, 2026

There is no need to process the whole page to guess its format: if we can't find a format indicator in the first 50 xml tokens, odds are that we won't find it at all.

This should save some time when trying to find a feed, as this function is called a handful of times on various pages.

There is no need to process the whole page to guess its format: if we can't
find a format indicator in the first 50 xml tokens, odds are that we won't find
it at all.

This should save some time when trying to find a feed, as this function is
called a handful of times on various pages.
fguillot

This comment was marked as spam.

@fguillot fguillot merged commit 8d19529 into miniflux:main Feb 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants