-
Notifications
You must be signed in to change notification settings - Fork 202
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
Implement SpatialObject for Line type #181
Conversation
79fffa6
to
70d9b48
Compare
Not exactly question about this PR, but generally – is implementing |
@floatdrop I haven't really thought about implementing it for any other types, because we haven't yet had to use |
@floatdrop As you say, you won't be able to do it yourself, because |
f5bb1ee
to
7563f87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woops, this one slipped by. sorry for the delayed review!
This lets us use Line in RTree, skipping the conversion to SimpleEdge
This allows us to skip a conversion step
[ci skip]
7563f87
to
b16dd15
Compare
bors r=frewsxcv |
Build succeeded |
This doesn't get us any speedup, but it does let us use the
Line
type directly in anRTree
, which reduces complexity quite a bit.