ufolr edited a comment on issue #195: Fix 
CharArrayBuffer.subSequence(beganIndex,endIndex) to return right result.
URL: 
https://github.com/apache/httpcomponents-core/pull/195#issuecomment-615688514
 
 
   @ok2c Yep. I saw that performance waste of performance. So I make 
**CharArrayBuffer**  can reuse the existing char array by adding an offset pos 
tag. Now, if there is no write option, the **CharArrayBuffer** will not do 
allocation or array copy. Just like a **HeapCharBuffer** do.   
   Too do this, I add an constructor `CharArrayBuffer(final char[] b, final int 
off, final int len)` to `CharArrayBuffer`. 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to