Skip to content

perf(c/sedona-geos): implement ST_Boundary with geo-traits - #1256

Draft
paleolimbot wants to merge 1 commit into
apache:mainfrom
paleolimbot:codex/issue-303-faster-boundary
Draft

perf(c/sedona-geos): implement ST_Boundary with geo-traits#1256
paleolimbot wants to merge 1 commit into
apache:mainfrom
paleolimbot:codex/issue-303-faster-boundary

Conversation

@paleolimbot

Copy link
Copy Markdown
Member

Replaces the GEOS round-trip in ST_Boundary with direct geo-traits traversal and incremental WKB output. Preserves GeometryCollection aggregation, dimensionality, empty outputs, and the mod-2 boundary node rule for MultiLineStrings. Local Criterion samples improved Polygon(10) from ~49.3 ms to ~13.5 ms and Polygon(500) from ~803 ms to ~662 ms. Verified with cargo test -p sedona-geos (275 tests) and clippy with warnings denied.\n\nCloses #303

@github-actions
github-actions Bot requested a review from prantogg September 10, 2026 19:50
@paleolimbot
paleolimbot marked this pull request as draft September 11, 2026 03:39
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.

1 participant