Marshaler's arbitrary string limit is crude
Closed this issue · 1 comments
lars-t-hansen commented
The marshaler refuses to serialize strings with more than 1 million characters. This limit is mostly arbitrary; it can support up to 2^24-1 characters easily (no change in format) and up to 2^31 characters almost as easily by breaking out the length field.
It is useful to consider having a limit, but it may better be a limit on the number of output words than the length of any given data structure.
lars-t-hansen commented