hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCORE-177) Optimize AbstractSessionInputBuffer#read(byte[], int, int)
Date Mon, 15 Mar 2010 20:57:27 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCORE-177.
----------------------------------------

    Resolution: Fixed

Fix committed to SVN trunk. I am seeing some marginal (3-5%) performance improvement on Windows.

Oleg

> Optimize AbstractSessionInputBuffer#read(byte[], int, int)
> ----------------------------------------------------------
>
>                 Key: HTTPCORE-177
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-177
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 4.0-beta3
>            Reporter: Oleg Kalnichevski
>             Fix For: 4.1-beta1
>
>
> At the moment AbstractSessionInputBuffer#read(byte[], int, int) always copies input to
the internal data buffer prior to copying it to the destination buffer. The performance of
this method may potentially be improved by eliminating intermediate data copy operation and
reading input directly to the destination buffer, especially when dealing with large chunks.
> Oleg

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message