Skip to content

Commit

Permalink
enable compression on reuse index data
Browse files Browse the repository at this point in the history
  • Loading branch information
douira committed Dec 11, 2023
1 parent 1409949 commit 8f244a1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@ static NodeReuseData prepareNodeReuse(BSPWorkspace workspace, IntArrayList index

// TODO: this could use compression, but then attemptNodeReuse also needs to be
// able to decompress it
// return new NodeReuseData(quadExtents, BSPSortState.compressIndexes(indexes),
// maxIndex);
return new NodeReuseData(quadExtents, indexes.toIntArray(), maxIndex);
return new NodeReuseData(quadExtents, BSPSortState.compressIndexes(indexes),
maxIndex);
}
return null;
}
Expand Down

0 comments on commit 8f244a1

Please sign in to comment.