On 10/22/07, mat <[EMAIL PROTECTED]> wrote:
> Is there any performance tradeoff by using MessageDecoder instead of
> CumulativeProtocolDecoder?

There's small additional overhead determining a proper MessageDecoder;
DemuxingProtocolCodecFactory iterates all registered MessageDecoders
to call decodable().

However, I don't think it's a big overhead because most messages can
be determined from its first few bytes.  Once a proper MessageDecoder
is chosen, there's no overhead.

Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to