[ 
https://issues.apache.org/jira/browse/VFS-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495702
 ] 

Mario Ivankovits commented on VFS-160:
--------------------------------------

Could you explain a little bit why this would be a speedup improvement?

I don't think that our character comparison is really slower than the array 
access stuff.

> Speedup FileNameParser.encodeCharacter
> --------------------------------------
>
>                 Key: VFS-160
>                 URL: https://issues.apache.org/jira/browse/VFS-160
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: Adam Heath
>            Priority: Minor
>         Attachments: feature_array-based-encodeCharacter.patch
>
>
> Use an array for characters < 256, and a BitSet for those larger.  Speedup 
> improvement.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to