-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimise internal representation of
ModuleName
(#3927)
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.
- Loading branch information
Showing
1 changed file
with
44 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters