directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAVIBOT-8) Avoid creating a sub-btree when we have only one value to store
Date Thu, 15 Aug 2013 10:41:48 GMT
Emmanuel Lecharny created MAVIBOT-8:
---------------------------------------

             Summary: Avoid creating a sub-btree when we have only one value to store
                 Key: MAVIBOT-8
                 URL: https://issues.apache.org/jira/browse/MAVIBOT-8
             Project: Mavibot
          Issue Type: Improvement
    Affects Versions: 1.0.0-M1
            Reporter: Emmanuel Lecharny
            Assignee: Emmanuel Lecharny
             Fix For: 1.0.0-M2


Currently, for BTrees that support multiple values for a key, we create a sub BTree no matter
what. This is expensive when we have only one value to store in the BTree.

We should have a specific treatment for when we have only one value to store for a given key,
where we store the value itself instead of creating a sub-tree.

At some point, we may also want to define a number of value we store directly in an array,
before creating a sub-btree.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message