Remote GHCi: Optimize the serialization/deserialization of byte code
authorSimon Marlow <marlowsd@gmail.com>
Fri, 29 Jan 2016 11:27:50 +0000 (11:27 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 2 Feb 2016 08:04:11 +0000 (08:04 +0000)
commit2fb6a8c30567e7d071ffcf88e22ea7f72f60b826
tree3f1d5574ab980aa90f05522d92af097594933cb8
parentaf8fdb97c27d6ba4c8f4ffffc2bdc2eceba61bf1
Remote GHCi: Optimize the serialization/deserialization of byte code

Summary: This cuts allocations by about a quarter.

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/D1875

GHC Trac Issues: #11100
compiler/ghci/ByteCodeLink.hs
libraries/ghci/GHCi/ResolvedBCO.hs