Skip to content

Conversation

@yutannihilation
Copy link
Contributor

@yutannihilation yutannihilation commented Nov 7, 2025

Thanks to @Kontinuation (cf. georust/wkb#88), the wkb crate now has .buf() on all geometry types not only Wkb!

This pull request uses it to slightly improve ST_Dump. When I implemented ST_Dump in #269, .buf() was not usable for this, so I used wkb::writer::*. But, it's probably more efficient to copy a raw WKB rather than newly constructing a WKB.

Copy link
Member

@paleolimbot paleolimbot left a comment

Choose a reason for hiding this comment

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

Thank you!

@paleolimbot paleolimbot merged commit 94ce7db into apache:main Nov 8, 2025
12 checks passed
@yutannihilation yutannihilation deleted the refactor/use-wkb-buf branch November 8, 2025 05:08
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