iverase commented on code in PR #946:
URL: https://github.com/apache/lucene/pull/946#discussion_r892375896
##########
lucene/core/src/java/org/apache/lucene/geo/Tessellator.java:
##########
@@ -817,8 +841,12 @@ private static final boolean splitEarcut(
sortByMortonWithReset(searchNode);
sortByMortonWithReset(splitNode);
}
- earcutLinkedList(polygon, searchNode, tessellation, State.INIT,
mortonOptimized);
- earcutLinkedList(polygon, splitNode, tessellation, State.INIT,
mortonOptimized);
+ notifyMonitorSplit("SPLIT[" + depth + "]", monitor, searchNode,
splitNode);
Review Comment:
Maybe we should just pass the depth here so we are not allocating those
strings every time?
--
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]