<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks for your elaborate answer,, I will have a good think about it.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Just a random thought I had:<br></div><div class="gmail_default" style="font-size:small">As I was doing some experiments with st_intersection, I noticed some strange thing though.</div><div class="gmail_default" style="font-size:small">On our prod. machine (windows, pg11, postgis 2.5.0 (not 100% sure), geos 3.7.0), it takes about a minute to calculate the st_intersection, on my machine (windows only using libgeos) it takes 11 seconds after my optimization (15seconds without) and according to Martin Davis at his end (java?) it takes about 4 seconds.</div><div class="gmail_default" style="font-size:small">I don't have any macros defined (I saw f.e. a USE_RECTANGLE_INTERSECTION), could that be the cause of the speed-differences?</div><div class="gmail_default" style="font-size:small">And can it be verified that all code/compiler optimizations are enabled for the windows builds of postgis/geos?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">P.S. can you include me in the cc?<br></div></div></div></div>