pact icon indicating copy to clipboard operation
pact copied to clipboard

SizeOf instance for ByteString needs to be forked

Open jwiegley opened this issue 2 years ago • 0 comments

SizeOf instance for ByteString needs to be forked. Data.ByteString.UTF8 is an inefficient O(n) in the length calculation of the string.

  • Additionally, utf8-string should be abandoned in favor of Data.Text.Encoding.encodeUtf8.

  • We will need a new version of SizeOf (we have versioned SizeOf as of December release).

jwiegley avatar Dec 09 '22 19:12 jwiegley