Use a better string type (ByteString?!) for HsDocString
HsDocString
is currently defined as
newtype HsDocString = HsDocString FastString
Alex Biehl and hvr mentioned that due to FastString
's (interning?) overhead it's not a good type to store haddocks. They suggested using ByteString
instead.
Trac metadata
Trac field | Value |
---|---|
Version | 8.2.2 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | alexbiehl, hvr |
Operating system | |
Architecture |