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

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

Can I take this one?

I guess it could be done by implementing bulkloading 
https://en.wikipedia.org/wiki/B-tree#Initial_construction instead of adding 
value one by one 
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/utils/btree/TreeBuilder.java#L135
 Is that the right direction?

[~benedict] Sorry to ping you again, it's appreciated if you could give me more 
information.

> Optimise BTree.Buider
> ---------------------
>
>                 Key: CASSANDRA-9989
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9989
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Benedict
>            Priority: Minor
>             Fix For: 3.x
>
>
> 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
(v6.3.4#6332)

Reply via email to