You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by ji...@apache.org on 2004/04/01 06:27:44 UTC

[jira] Closed: (DIR-82) Do not use ArrayByteList in Tag and Length Decoders

Message:

   The following issue has been closed.

   Resolver: Alex Karasulu
       Date: Wed, 31 Mar 2004 8:27 PM

We did switch to using a ByteBuffer with a capacity of 5 on the Length and created a special accumulator/collector for the tag that stores the entire set of tag octets in an int.  So its all gone but we still have a dependency on the ArrayIntList within the IntStack implementation.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/DIR-82

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIR-82
    Summary: Do not use ArrayByteList in Tag and Length Decoders
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Directory
 Components: 
             Snickers

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Sun, 28 Mar 2004 7:23 AM
    Updated: Wed, 31 Mar 2004 8:27 PM

Description:
It might make more sense to use a collection of ByteBuffers in the Tag and Length decoders rather than using an ArrayByteList.  First of all it reduces a dependency on the commons primitives and uses objects we're familiar with.  It might even be better if we implemented the collector functionality our selves using a byte array rather than dealing with the overheads of these higher level objects.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira