clintropolis commented on code in PR #16931:
URL: https://github.com/apache/druid/pull/16931#discussion_r1724378098
##########
processing/src/main/java/org/apache/druid/collections/spatial/ImmutableFloatNode.java:
##########
@@ -182,15 +182,15 @@ public ImmutableNode<float[]> next()
numDims,
initialOffset,
data.getInt(childrenOffset + (count++) * Integer.BYTES),
- data,
+ data.duplicate(),
Review Comment:
yea, but it would call duplicate for every entry instead of just the ones
that satisfy the bounds check that we need a bitmap for
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]