RBush Swift port
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 271
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
For Performance purposes, we need to perform a quick search for geometries with given attributes. For example it is useful for LineString.intersections implementation. Spatial indexing would provide a performant option to do that.
We cannot rely on Apple's implementations because that won't work for non-apple platforms. So the easiest option so far is to provide swift port of existing Javascript implementation RBush.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the LineString.intersections implementation discussion in pull request 167 and the referenced JavaScript RBush implementation. Determine the cross-platform Swift API and integration points needed for spatial indexing and attribute-based geometry searches. Done means a working Swift port that supports the requested performant queries across non-Apple platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, swift
- Domain
- performance, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100