lars-t-hansen/parlib-simple

Marshaler's arbitrary string limit is crude

Closed this issue · 1 comments

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.

[master 1ee60e3]

Length limitation is a more general problem, see Issue #21 for a discussion.