On Mon, Dec 05, 2005 at 09:43:01AM +0100, Ortwin Gl??ck wrote:
> Oleg,
> 
> Is it really worth implementing your own number parsing? I don't think 
> Integer.parseInt will kill us, honestly.
> 
> Odi
> 

Odi,

I am aware this is a questionable decision. The primary motivating
factor was to implement zero (or almost zero) garbage HTTP request
parsing and see if that results in any significant performance gains. 

I have run a few tests yesterday and so far the impact of reduced
generation of intermediate objects when parsing HTTP requests seems
minimal for JRE 1.5. So, I am fully prepared to revert this change if 
there are no tangble performance gains for older JREs. I would like 
to experiment a little further before such a decision is made

Oleg


> [EMAIL PROTECTED] wrote:
> >Provided a utility class to parse unsigned integers from a char array
> >buffer without creating intermediate objects (garbage)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to