Open phiryll opened 1 week ago
I realized after creating this issue that all aggregates must escape and delimit their elements, because there's no way to tell whether a pointer-to-interface element would require one.
The only exception would be aggregates with clearly fixed size elements. This can be a later optimization.
Types that must be explicitly delimited:
Note that these types cannot be implicitly delimited, because they have variable size. These are unlike big.Int and big.Float, which are normalized in a way that allows the length prefix itself to be significant in the sort order.
Different ways to do this: