Optimize symmetric difference for GeometryCollections

Đang mở
#685 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
go
Lĩnh vực
backend, performance

Hướng nghiên cứu

Read pull request #682 to trace the GeometryCollection symmetric difference implementation and its calls to prepareOverlayInputParts. Compare the two difference operations followed by the union, and identify where the repeated preparation occurs. Done means symmetric difference avoids unnecessary repeated preparation while preserving the operation’s behavior; the issue names no test or source file.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

jtsport performance

In https://github.com/peterstace/simplefeatures/pull/682, symmetric difference for geometry collections performs two difference operations, and then a union operation. In particular, prepareOverlayInputParts is called multiple times unnecessarily (in involves a Union call, so isn't cheap).

Ngôn ngữ chính
Go
Star
176
Fork
27
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của peterstace/simplefeatures

Tất cả issue của peterstace/simplefeatures

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.