Use ByteStrings for strings that don't use FastString's features
The first two candidates that I have in mind are SourceText and StringLiteral's sl_fs field.
There might be a point in creating a simple wrapper for UTF8-encoded ByteString. HsDocString could use that one too.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.4.3 |
| Type | Task |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | alexbiehl |
| Operating system | |
| Architecture |