diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2019-08-05 18:42:10 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-08-14 16:55:42 -0400 |
commit | a38104b4df092d2155f61e9785e92ceb268b7e5f (patch) | |
tree | 089a1af9fc83ef560b2af571a0b376322965089f /compiler/codeGen | |
parent | b1d29c6732b9cc6e4b3b88b3c1a7943d0a9af4f2 (diff) | |
download | haskell-a38104b4df092d2155f61e9785e92ceb268b7e5f.tar.gz |
Rework the Binary Integer instance.
We used to serialise large integers as strings. Now they are serialized
as a list of Bytes.
This changes the size for a Integer in the higher 64bit range from 77 to
9 bytes when written to disk.
The impact on the general case is small (<1% for interface files) as we
don't use many Integers. But for code that uses many this should be a
nice benefit.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions