linksplatform / linksplatform/doublets-rs

Use `rayon` and `bump-herd` to crazy fast parallel search

Open
#9 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue:Incomplete Issue:Middle Parallel:Rayon
Dominant language
Rust
Stars
6
Forks
0
Avg merge
1h 37m
Merged PRs (30d)
1

Description

You can start with this example

fn par_each_impl(..., root: T) {
    if magic_appropriate_to_join(...) {
        rayon::join(
            || par_each_impl(..., left(root)),
            || par_each_impl(..., right(root)),
        )
    } else {
        seq_each_impl(..., root)
    }
}

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 locating the existing search entry point and the implementations represented by par_each_impl and seq_each_impl. Compare the issue's rayon::join example with the current traversal, then determine how bump-herd fits; the work is done when search has the requested parallel implementation and its performance is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.