Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: Serialization Format that can be read back in chunks?

by pKai (Priest)
on Mar 29, 2007 at 22:10 UTC ( #607367=note: print w/replies, xml ) Need Help??

in reply to Re: Serialization Format that can be read back in chunks?
in thread Serialization Format that can be read back in chunks?

57 * 4 / 3 = 76

the max length for a base64 coded line required by rfc2045 for MIME encoded data (mails).

No idea if the 60 has any hard technical background though.

Anyway, I don't know if such a character level encoding is the solution to Mike's problem. After all, this is completely unaware of the structure of the data encoded.

Serializer/Formats as Data::Dumper, XML, YAML generate output which can be described by contextfree languages, which probably is no coincidence. Resorting to the pumping lemma the maximal distance between the start/end braces/tags/indentation-changes corresponding to the start/end of an embedded serialized substructure is not limited, which sounds quite incompatible to "chunk" (i.e. fixed-length) to me.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://607367]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2021-06-16 10:54 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (74 votes). Check out past polls.