You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2013/08/22 19:01:53 UTC

[jira] [Created] (DIRSERVER-1893) We should not transform UP values to String

Emmanuel Lecharny created DIRSERVER-1893:
--------------------------------------------

             Summary: We should not transform UP values to String
                 Key: DIRSERVER-1893
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1893
             Project: Directory ApacheDS
          Issue Type: Improvement
    Affects Versions: 2.0.0-M15
            Reporter: Emmanuel Lecharny
             Fix For: 2.0.0-M16


We never need to convert the User Provided value (UPValue) to String, but instead keep them as byte[]. The reason is that we never manipulate this value, except to return it o the user, as a byte[] (except in CoreSession).
The gain would be substential, both in CPU but also in disk space, as a byte[] ASCII value will be twice smaller than the same value but as a String.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira