1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00
miniflux-v2/internal/reader/readability
jvoisin 1de9cf4241 perf(readability): simplify removeUnlikelyCandidates
- Use an iterator instead of generating a whole slice when iterating on the selection.
- Using an iterator allows to use a for-loop construct, instead of a lambda,
  which is a bit clearer
- Do the filtering Find()'s selector, instead of in the loop, which doesn't
  matter much now that we're using an iterator, but it makes the code a bit
  more obvious/simpler, and likely reduces a bit the number of iterations.
2025-07-23 19:55:47 -07:00
..
readability.go perf(readability): simplify removeUnlikelyCandidates 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