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 2006/09/06 08:38:22 UTC
[jira] Created: (DIRSERVER-729) Speed improvment in asn.1 encode
method
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
[jira] Commented: (DIRSERVER-729) Speed improvment in asn.1 encode
method
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482556 ]
Emmanuel Lecharny commented on DIRSERVER-729:
---------------------------------------------
And the fix has been ported into the TLV class
> 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.
[jira] Commented: (DIRSERVER-729) Speed improvment in asn.1 encode
method
Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (DIRSERVER-729) Speed improvment in asn.1 encode
method
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-729.
---------------------------------------
Resolution: Won't Fix
The Length class has been removed.
> 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.