[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] tnetstrings.lua 1.0.0
- From: Michal Kottman <k0mpjut0r@...>
- Date: Sun, 05 Jun 2011 17:07:00 +0200
On Sun, 2011-06-05 at 15:27 +0200, Florian Weimer wrote:
> > * Fast and low resource intensive.
>
> The format requires buffering all data before decoding can start.
> This means that decoding arbitrary messages requires unbounded
> storage.
I wonder why the decision to have TYPE specification of the tnetstring
at the end? It could be decoded without buffering if the type was
specified at the beginning of the payload, similar to the bencode used
by BitTorrent.