1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41:00 +00:00
miniflux-v2/internal/urllib
Julien Voisin a8b4e88742
perf(sanitizer): improve the performances of the sanitizer (#3497)
- Grow the underlying buffer of SanitizeHTML's strings.Builder to 3/4 of the
  raw HTML from the start, to reduce the amount of iterative allocations. This
  number is a complete guesstimation, but it sounds reasonable to me.
- Add a `absoluteURLParsedBase` function to avoid parsing baseURL over and over.
2025-07-07 15:21:13 -07:00
..
url.go perf(sanitizer): improve the performances of the sanitizer (#3497) 2025-07-07 15:21:13 -07:00
url_test.go Rename internal url package to avoid overlap with net/url 2023-08-13 19:57:04 -07:00