Skip to content

Rework the Binary Integer instance.

Andreas Klebinger requested to merge AndreasK/ghc:binaryInteger into master

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
10 bytes when written to disk.
Edited by Andreas Klebinger

Merge request reports