Re: [Jts-topo-suite-user] intersects optimization or short-circuit
Brought to you by:
dr_jts
From: Martin D. <mtn...@te...> - 2011-03-07 01:30:42
|
Ok. Keep your current 1.12alpha build for comparison. I've commited back the original algorithm. I think it might depend on what the data is. My test case (which is in SVN as RectangleIntersectsPerfTest if you want to try it) runs about 3 times faster *with* the envelope check. M On 3/6/2011 5:15 PM, Michaël Michaud wrote: > Hi, > > According to a very quick test, it seems that last code is two times > slower with two times more call to > Envelop.intersects and Envelop.isNull > > but it is late and I'm not sure of my tests > Also, I replaced JTS1.12alpha without saving > > Could you make both version available so that I can test again and > make sure. > > Thanks > > Michaël > > |