Skip to content
  • Finley McIlwaine's avatar
    11d5c2f6
    Make `isValidHtmlITag` more efficient · 11d5c2f6
    Finley McIlwaine authored
    `isValidHtmlITag` was allocating a lot, because it was converting `Builder` to
    `ByteString` over and over. This refactors to take a `ByteString` directly and
    changes the tag part of html elements to be `ByteString`.
    11d5c2f6
    Make `isValidHtmlITag` more efficient
    Finley McIlwaine authored
    `isValidHtmlITag` was allocating a lot, because it was converting `Builder` to
    `ByteString` over and over. This refactors to take a `ByteString` directly and
    changes the tag part of html elements to be `ByteString`.
Loading