diff options
author | Simon Marlow <marlowsd@gmail.com> | 2016-02-01 16:19:10 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2016-02-02 08:04:11 +0000 |
commit | 7cb1fae2d6ec90b10708a2631cd1069561177bd4 (patch) | |
tree | 0e22fd5c2ff258dffb3efa53379727d56af2c1f6 /compiler/ghci/ByteCodeGen.hs | |
parent | 2fb6a8c30567e7d071ffcf88e22ea7f72f60b826 (diff) | |
download | haskell-7cb1fae2d6ec90b10708a2631cd1069561177bd4.tar.gz |
Remote GHCi: batch the creation of strings
Summary:
This makes a big performance difference especially when loading a
large number of modules and using parallel compilation (ghci -jN).
Test Plan:
* validate
* `ghci -fexternal-interpreter` in `nofib/real/anna`
Reviewers: niteria, bgamari, ezyang, austin, hvr, erikd
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1876
GHC Trac Issues: #11100
Diffstat (limited to 'compiler/ghci/ByteCodeGen.hs')
-rw-r--r-- | compiler/ghci/ByteCodeGen.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ghci/ByteCodeGen.hs b/compiler/ghci/ByteCodeGen.hs index 0e054bff54..ecbb8e3a8a 100644 --- a/compiler/ghci/ByteCodeGen.hs +++ b/compiler/ghci/ByteCodeGen.hs @@ -125,7 +125,7 @@ coreExprToBCOs hsc_env this_mod expr dumpIfSet_dyn dflags Opt_D_dump_BCOs "Proto-BCOs" (ppr proto_bco) - assembleBCO dflags proto_bco + assembleOneBCO hsc_env proto_bco -- The regular freeVars function gives more information than is useful to |