uber / uber/h3

Implement gridDiskSafe

Open
#344 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
6.5k
Forks
627
Avg merge
3d 21h
Merged PRs (30d)
6

Description

Like kRing / gridDisk, but always use the slow, safe algo. Should just be renaming and exposing _kringInternal. This would avoid trying the fast algo if you know it's going to fail.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing kRing and gridDisk entry points and the _kringInternal implementation. Confirm how the slow, safe algorithm is selected, then expose the requested gridDiskSafe behavior without attempting the fast algorithm and verify it matches the existing gridDisk results.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.