That step alone cuts the number of edges in half (as you intended).Gotta love it when you have the right idea and botch it's implementation. :) Thanks, you are exactly correct. That drops things down into the 3 minute range for the example.
My praticle upper bounds at the moment is 3000. I did some test on a 2001 (8 trillion + calcs) coord map with the old code and after 56 hours I hand't returned ... doh! Lets see if this will return now.
Next I'm going to work on the suggestions extremely made and see what I can get this down to.
In reply to Re^2: Millions of line segment intersection calcs: Looking for speed tips (80% saved)
by drewhead
in thread Millions of line segment intersection calcs: Looking for speed tips
by drewhead
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |