Apache Directory Project - [jira] Commented: (DIRSERVER-729) Speed improvment in asn.1 encode

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > February 2007 > [jira] Commented: (DIRSERVER-729) Speed improvment in asn.1 encode





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (DIRSERVER-729) Speed improvment in asn.1 encode
Alex Karasulu (JIRA)

2007-02-23, 7:11 pm


[ https://issues.apache.org/jira/brow...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.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com