1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-02 16:38:37 +00:00
miniflux-v2/internal/reader/readability
Julien Voisin 6ad5ad0bb2
refactor(readability): various improvements and optimizations
- Replace a completely overkill regex
- Use `.Remove()` instead of a hand-rolled loop
- Use a strings.Builder instead of a bytes.NewBufferString
- Replace a call to Fprintf with string concatenation, as the latter are much
  faster
- Remove a superfluous cast
- Delay some computations
- Add some tests
2024-12-12 20:41:56 -08:00
..
readability.go refactor(readability): various improvements and optimizations 2024-12-12 20:41:56 -08:00
readability_test.go refactor(readability): various improvements and optimizations 2024-12-12 20:41:56 -08:00