1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00
miniflux-v2/internal/reader/readability
jvoisin 2df59b4865 Refactor internal/reader/readability/testdata
- Use chained strings.Contains instead of a regex for
  blacklistCandidatesRegexp, as this is a bit faster
- Simplify a Find.Each.Remove to Find.Remove
- Don't concatenate id and class for removeUnlikelyCandidates, as it makes no
  sense to match on overlaps. It might also marginally improve performances, as
  regex now have to run on two strings separately, instead of both.
- Add a small benchmark
2024-12-15 20:52:32 -08:00
..
readability.go Refactor internal/reader/readability/testdata 2024-12-15 20:52:32 -08:00
readability_test.go Refactor internal/reader/readability/testdata 2024-12-15 20:52:32 -08:00
testdata Refactor internal/reader/readability/testdata 2024-12-15 20:52:32 -08:00