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

Make Quadtree implementation threadsafe #792

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Conversation

apinder
Copy link
Contributor

@apinder apinder commented Oct 29, 2021

This PR makes the Quadtree implemention threadsafe. Queries and insertions to the Quadtree can now work in multi-threaded environments.

I've not contributed to this project before so it might be the case that the Quadtree was never meant to be threadsafe but for my use case; frequently updating and querying a single Quadtree with multiple threads, this was a significant performance bottleneck.

Queries and insertions to the quadtree can now work in multi-threaded
environments.
@dr-jts
Copy link
Contributor

dr-jts commented Oct 29, 2021

This is a good improvement - thanks. Are you able to fill out the Eclipse Contributor Agreement? Otherwise, I will copy this into a new PR and merge it.

@apinder
Copy link
Contributor Author

apinder commented Oct 29, 2021

Thanks, the Eclipse Contributor Agreement should be signed now.

@dr-jts dr-jts merged commit d8d990c into locationtech:master Oct 29, 2021
@jodygarnett jodygarnett added this to the 1.19.0 milestone Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants