[
https://issues.apache.org/jira/browse/DEFT-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069523#comment-13069523
]
Michele ZuccalĂ edited comment on DEFT-167 at 7/22/11 12:34 PM:
----------------------------------------------------------------
I'm a bit confused :)
1) in Delft I have not found a clear distinction between the decoding of header
and body, then what is the best charset !??!?!
2) Deft can be multithreaded, so it would be safer to instantiate a new
CharsetDecoder every request !?!??!
was (Author: ilmich):
I'm a bit confusing :)
1) in Delft I have not found a clear distinction between the decoding of header
and body, then what is the best charset !??!?!
2) Deft can be multithreaded, so it would be safer to instantiate a new
CharsetDecoder every request !?!??!
> Use CharsetDecoder to convert ByteBuffer to String
> --------------------------------------------------
>
> Key: DEFT-167
> URL: https://issues.apache.org/jira/browse/DEFT-167
> Project: Deft
> Issue Type: Improvement
> Reporter: Michele ZuccalĂ
> Priority: Minor
>
> My research has shown that CharsetDecoders are much faster for the conversion
> of a ByteBuffer into a String.
> Take a look here for this simple improvement:
> https://github.com/ilmich/deft/commit/6914e922051d4e0e050a58daea2790091c236b7c
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira