Skip to content

Rtrees in one dimension#227

Open
leo-collins wants to merge 4 commits intogeorust:masterfrom
leo-collins:leo/1drtree
Open

Rtrees in one dimension#227
leo-collins wants to merge 4 commits intogeorust:masterfrom
leo-collins:leo/1drtree

Conversation

@leo-collins
Copy link

  • I agree to follow the project's code of conduct.
  • I added an entry to rstar/CHANGELOG.md if knowledge of this change could be valuable to users.

Allow construction of 1D rtrees. I can't see at a glance why this shouldn't be okay. Added some basic tests.

@adamreichold
Copy link
Member

We discussed this in #169 and decided against it. Could you check that discussion if something has significantly changed since then? Thanks.

@leo-collins
Copy link
Author

Basically allowing this would save us having to write a separate tree data structure and special-case it in several places for 1D. In our use case we're definitely not going to run into the situation that this would be slow in 1D.

Perhaps a note in the docs saying "1D is supported but is potentially a stupid idea"? If not then I will close this PR.

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

Successfully merging this pull request may close these issues.

2 participants