mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
- 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. |
||
---|---|---|
.. | ||
url.go | ||
url_test.go |