@Rafi: I see there is a patch review  process within Apache (based on your 
other thread on Java8)

Should we make this through the patch process at some point?


On Apr 29, 2014, at 4:04 PM, Clebert Suconic <[email protected]> wrote:

> 
> On Apr 29, 2014, at 4:00 PM, Rafael Schloming <[email protected]> wrote:
>>> 
>>> Notice that this will also minimize the footprint of the codec but I'm not
>>> measuring that here.
>>> 
>> 
>> Just out of curiosity, when you say minimize the footprint, are you
>> referring to the in memory overhead, or do you mean the encoded size on the
>> wire?
> 
> I didn't change any encoding size on these refactoring. The code should 
> produce the same bytes as it was producing before.
> 
> 
> I meant memory overhead.. Before my changes you had to instantiate a Decoder 
> per Connection, and a Decoder per Message (that was actually recently changed 
> to per thread). The decoder has the DefinedTypes and registered objects... 
> with this change now you can have a single instance of the Decoder and 
> Encoder per JVM since it's stateless now.
> 

Reply via email to