Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance increase idea #7

Open
derrickpelletier opened this issue Mar 10, 2014 · 0 comments
Open

Performance increase idea #7

derrickpelletier opened this issue Mar 10, 2014 · 0 comments

Comments

@derrickpelletier
Copy link
Owner

when the current row intersection is performed, and the poly is returned which represents the parts of the original poly that fall within the current row, rather than starting at the leftmost edge of the current row in the entire bounding box, we really only need to start at the leftmost edge of the bounding box of that poly that was returned.
and similarly end at the eastern extent.

This would save a lot of wasted checks. A turf.extent() would need to be performed for every row.

@jakeorr jakeorr self-assigned this Mar 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants