[ 
https://issues.apache.org/jira/browse/DIRSERVER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475462
 ] 

Alex Karasulu commented on DIRSERVER-729:
-----------------------------------------

Have you already taken care of this one?

> Speed improvment in asn.1 encode method
> ---------------------------------------
>
>                 Key: DIRSERVER-729
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-729
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>            Reporter: Emmanuel Lecharny
>             Fix For: 1.5.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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to