Skip to content

Use variable length encoding in Binary instances.

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

Use LEB128 in Binary instances for Int/Word. This allows efficient encoding of small values.

The impact is quite substantial.
It reduces the size of interface files by ~20%, varying by a few percent depending on the file in question.

Edited by Andreas Klebinger

Merge request reports