The Binary instances for Array i e and UArray i e serialise the length of the array. This is redundant, since the length can be computed from the bounds (which are also serialised).
Getting rid of the length would save 8 bytes. The question is if it's worth it to potentially break code for this (small?) gain.
The
Binaryinstances forArray i eandUArray i eserialise the length of the array. This is redundant, since the length can be computed from the bounds (which are also serialised).Getting rid of the length would save 8 bytes. The question is if it's worth it to potentially break code for this (small?) gain.