Repository navigation
perf(spatial-joins): 優化空間距離計算並補充實作文件 - #4
Merged
Merged
Conversation
reboot0707
commented
Oct 5, 2026
Collaborator
- 預先計算包覆圓,以保守粗篩減少精確距離配對
- 將候選與精確距離存入暫存表,避免彙總時重複計算
- 保留原始距離門檻、已評分資料保護與交易一致性
- 補充 SQL 優化原理、驗證與部署 know-how
- 預先計算包覆圓,以保守粗篩減少精確距離配對 - 將候選與精確距離存入暫存表,避免彙總時重複計算 - 保留原始距離門檻、已評分資料保護與交易一致性 - 補充 SQL 優化原理、驗證與部署 know-how 驗證:建置與 117 項既有檢查通過,額外邊界案例通過。 目前資料在 100 公尺門檻下,精確配對減至 177 組, 候選計算約 3.8 秒。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.