directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Created: (DIR-55) [ber-codec] reusing ByteBuffer instead of allocating byte[]
Date Mon, 15 Mar 2004 22:17:17 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=DIR-55

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIR-55
    Summary: [ber-codec] reusing ByteBuffer instead of allocating byte[] 
       Type: Task

     Status: Open
   Priority: Critical

    Project: Directory
 Components: 
             Snickers

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Mon, 15 Mar 2004 2:16 PM
    Updated: Mon, 15 Mar 2004 2:16 PM

Description:
Currently every new primitive TLV value has memory allocated for it.  Rather than allocate
memory for it which may not be used we should be reusing a ByteBuffer of some initial size.
 When we encounter Values that are too big to fit the buffer then we bump up the buffer's
size to the needed buffer size by just allocating a new buffer.

This is an intermediate solution until we finish adding the disk streaming and referral functionality
for TLV values.




---------------------------------------------------------------------
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


Mime
View raw message