diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2021-04-06 15:51:38 +0300 |
---|---|---|
committer | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2021-05-22 22:17:04 +0300 |
commit | 385c8d8809b26b2d86883041d42fd1a33a80e990 (patch) | |
tree | db9c01ec2678aa78ce7c230668c5f83a7f49c34d /testsuite/tests/parser/should_run/CountParserDeps.stdout | |
parent | 503388c53b0860e5a1fca11113ac7fc3e1e44492 (diff) | |
download | haskell-wip/strict-maybe.tar.gz |
Introduce Strict.Maybe, Strict.Pair (#19156)wip/strict-maybe
This patch fixes a space leak related to the use of
Maybe in RealSrcSpan by introducing a strict variant
of Maybe.
In addition to that, it also introduces a strict pair
and uses the newly introduced strict data types in a few
other places (e.g. the lexer/parser state) to reduce
allocations.
Includes a regression test.
Diffstat (limited to 'testsuite/tests/parser/should_run/CountParserDeps.stdout')
-rw-r--r-- | testsuite/tests/parser/should_run/CountParserDeps.stdout | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/parser/should_run/CountParserDeps.stdout b/testsuite/tests/parser/should_run/CountParserDeps.stdout index c08cd67a52..05d6073262 100644 --- a/testsuite/tests/parser/should_run/CountParserDeps.stdout +++ b/testsuite/tests/parser/should_run/CountParserDeps.stdout @@ -1,4 +1,4 @@ -Found 263 GHC.Parser module dependencies +Found 264 GHC.Parser module dependencies GHC.Builtin.Names GHC.Builtin.PrimOps GHC.Builtin.Types @@ -76,6 +76,7 @@ GHC.Data.Maybe GHC.Data.OrdList GHC.Data.Pair GHC.Data.Stream +GHC.Data.Strict GHC.Data.StringBuffer GHC.Data.TrieMap GHC.Driver.Backend |