8000 [pull] main from miniflux:main by pull[bot] · Pull Request #301 · suhaoGe/miniflux · GitHub
[go: up one dir, main page]

Skip to content

[pull] main from miniflux:main - #301

Merged
pull[bot] merged 1 commit into
suhaoGe:mainfrom
miniflux:main
May 11, 2026
Merged

pull[bot] merged 1 commit into
suhaoGe:mainfrom
miniflux:main

Conversation

@pull
@pull pull Bot commented May 11, 2026 •
Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…tion

Replace `num += string(char)` with index-based slicing of the input
string. The previous loop allocated a new string for every digit in
the duration (and again on each `+=`), giving O(n²) allocation
behavior. Slicing `after[start:i]` reuses the original string's
backing memory and only allocates once per numeric component when
passed to `strconv.Atoi`.

It also makes the code a bit more compact/simpler.

Called once per YouTube/podcast entry that exposes an ISO8601
duration during feed processing.
@pull pull Bot locked and limited conversation to collaborators May 11, 2026
7F1D
@pull pull Bot added the ⤵️ pull label May 11, 2026
@pull
pull Bot merged commit c2661ca into suhaoGe:main May 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0