1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41:00 +00:00
miniflux-v2/internal/reader/readability
jvoisin 8a98926674 refactor(readability): add a getSelectionLength function
When we're only interested in the length of contained Text, there is no need to
materialize it fully to then call len() on the result: we can simply iterate
over the text element and sum their length instead.
2025-07-01 19:52:53 -07:00
..
readability.go refactor(readability): add a getSelectionLength function 2025-07-01 19:52:53 -07:00
readability_test.go perf(readability): improve getLinkDensity 2025-07-01 19:40:47 -07:00
testdata Refactor internal/reader/readability/testdata 2024-12-15 20:52:32 -08:00