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 7912b9b8fb perf(readability): avoid materializing text to count commas
There is no need to materialize the whole text content of the selection only to
count its number of commas. As we already have a getLengthOfTextContent
function that is pretty similar, this commit refactors it to make it more
generic, in the form of a map/fold(+).
2025-07-23 19:55:47 -07:00
..
readability.go perf(readability): avoid materializing text to count commas 2025-07-23 19:55:47 -07:00
readability_test.go refactor(readability): minor clean up 2025-07-02 16:50:49 -07:00
testdata Refactor internal/reader/readability/testdata 2024-12-15 20:52:32 -08:00