Skip to content
  • Herbert Valerio Riedel's avatar
    Optimise internal representation of `ModuleName` (#3927) · b0e958a3
    Herbert Valerio Riedel authored
    This changes the representation of module names from `[[Char]]`
    (e.g. `Control.Monad.Fail` is decomposed into `["Control","Monad","Fail"]`)
    which results in many small heap objects, to a strict list of `ShortText`s.
    
    `ModuleName` was already an opaque type, so there is no visible change
    to the exposed API.
    b0e958a3