mirror of https://github.com/apache/lucene.git
LUCENE-7563: remove redundant array copy in PackedIndexTree.clone
This commit is contained in:
parent
5e8db2e068
commit
bd8b191505
|
@ -347,7 +347,6 @@ public final class BKDReader extends PointValues implements Accountable {
|
||||||
index.nodeID = nodeID;
|
index.nodeID = nodeID;
|
||||||
index.level = level;
|
index.level = level;
|
||||||
index.splitDim = splitDim;
|
index.splitDim = splitDim;
|
||||||
System.arraycopy(negativeDeltas, level*numDims, index.negativeDeltas, level*numDims, numDims);
|
|
||||||
index.leafBlockFPStack[level] = leafBlockFPStack[level];
|
index.leafBlockFPStack[level] = leafBlockFPStack[level];
|
||||||
index.leftNodePositions[level] = leftNodePositions[level];
|
index.leftNodePositions[level] = leftNodePositions[level];
|
||||||
index.rightNodePositions[level] = rightNodePositions[level];
|
index.rightNodePositions[level] = rightNodePositions[level];
|
||||||
|
|
Loading…
Reference in New Issue