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

[new release] rtree (0.1.1) #24288

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Conversation

patricoferris
Copy link
Contributor

A pure OCaml R-Tree implementation

CHANGES:

Bugs, Fixes and Optimisations

CHANGES:

## Bugs, Fixes and Optimisations

 - Remove extra length calculations (geocaml/ocaml-rtree#16, @lindig)
 - Remove some polymorphic comparisons and replace with `Float` functions (geocaml/ocaml-rtree#15, @patricoferris)
 - Fix stack overflows in OMT and Rectangle.merge (geocaml/ocaml-rtree#14, @patricoferris, reported by @lindig)
tags: ["spatial" "index"]
homepage: "https://github.com/geocaml/ocaml-rtree"
bug-reports: "https://github.com/geocaml/ocaml-rtree/issues"
depends: [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
depends: [
depends: [
"ocaml" {>= "4.08"}

IIUC it is a policy to explicitly add ocaml dependency lower bounds
(we probably want to add it to packages/rtree/rtree.0.1.0/opam as well)

@mseri @kit-ty-kate please point out if I'm wrong on this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does need a dependency on ocaml, but no lower bound is needed just yet. We haven't yet firmed up how exactly to enforce the <4.08 OCaml testing.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as this PR is already merged and a dependency to ocaml is not added yet.
do you think it's a good idea to open a PR to add ocaml to both rtree.0.1.0 and rtree.0.1.1 opam files?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, thanks! Sorry for the oversight

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, thanks! Sorry for the oversight

Thanks for the response! Here we go:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks all! :))

Perhaps this is something that could be added to:

In the meantime I'll update the source code to add it, thanks again.

@mseri
Copy link
Member

mseri commented Aug 17, 2023

Thanks

@mseri mseri merged commit 80844f0 into ocaml:master Aug 17, 2023
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.

4 participants