Switch to Flatbush
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 134
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Since the use case is static, switching from RBush to Flatbush would make which-polygon faster and use less memory.
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 locating the current RBush usage in the which-polygon codebase and read how polygon matching is indexed. Replace that index with Flatbush while preserving the existing matching behavior, then verify the package's current tests or usage examples if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100