https://bugzilla.redhat.com/show_bug.cgi?id=1514725
Bug ID: 1514725
Summary: Review Request: ghc-text-short - Memory-efficient
representation of Unicode text strings
Product: Fedora
Version: rawhide
Component: Package Review
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Spec URL: http://qulogic.fedorapeople.org//ghc-text-short.spec
SRPM URL: http://qulogic.fedorapeople.org//ghc-text-short-0.1.1-1.fc26.src.rpm
Description:
This package provides the 'ShortText' type which is suitable for keeping many
short strings in memory. This is similiar to how 'ShortByteString' relates to
'ByteString'.
The main difference between 'Text' and 'ShortText' is that 'ShortText' uses
UTF-8 instead of UTF-16 internally and also doesn't support slicing (thereby
saving 2 words). Consequently, the memory footprint of a (boxed) 'ShortText'
value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded
payload.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]