iverase opened a new issue, #11767:
URL: https://github.com/apache/lucene/issues/11767

   ### Description
   
   I have always been confused by this method which claims to fix 
self-intersections of the polygon but we require in the Tessellator java docs 
that polygons should not have self-intersections. More over, we have no test 
that needs this method to pass so it is currently untested / unnecessary. 
   
   I am bringing this up because I have an example of a polygon that it seems 
to spend half of the time on that method. It is a huge polygon that with this 
method takes around 560 seconds to tessellate but 260 seconds if we don't go 
through this method.
   
   My proposal is to remove the method completely or at least not call this 
method if the Tessellator has been called with the flag 
`checkSelfIntersections` set to true.
   
   @nknize introduced this method on the first version of the Tessellator, he 
might have more background about the need of this method. what do you think?


-- 
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: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to