cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Zhuang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9989) Optimise BTree.Buider
Date Mon, 27 Aug 2018 21:30:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-9989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16594239#comment-16594239
] 

Jay Zhuang commented on CASSANDRA-9989:
---------------------------------------

Sorry, I misunderstood the last part. I updated the patch to evenly split the values to all
child nodes. The TREE_SIZE is starting from index 0 instead of 1. {{left}} is replaced with
an incrementing counter, please review:
|branch | [9989|https://github.com/cooldoger/cassandra/tree/9989]|

{{LongBTreeTest.java}} is timing out even for trunk, I'm increasing timeout and run through
the test.

> Optimise BTree.Buider
> ---------------------
>
>                 Key: CASSANDRA-9989
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9989
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Benedict
>            Assignee: Jay Zhuang
>            Priority: Minor
>             Fix For: 4.x
>
>         Attachments: 9989-trunk.txt
>
>
> BTree.Builder could reduce its copying, and exploit toArray more efficiently, with some
work. It's not very important right now because we don't make as much use of its bulk-add
methods as we otherwise might, however over time this work will become more useful.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message