directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-729) Speed improvment in asn.1 encode method
Date Wed, 06 Sep 2006 06:38:22 GMT
Speed improvment in asn.1 encode method
---------------------------------------

                 Key: DIRSERVER-729
                 URL: http://issues.apache.org/jira/browse/DIRSERVER-729
             Project: Directory ApacheDS
          Issue Type: Improvement
            Reporter: Emmanuel Lecharny
             Fix For: 1.1.0


We can have an improvment in the method :
org.apache.directory.shared.asn1.ber.tlv.Length.getBytes() 
if we use a static array of byte[] when the length is below 128. The idea is to create those
128 elements and just select the good one instead of creating a new byte array each time.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message