linksplatform / linksplatform/Collections.Methods

Attempt to implement partially lock-free tree with delayed balancing

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

Nobody has claimed this yet.

Dominant language
C#
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

https://github.com/linksplatform/Collections.Methods/blob/d37cf5aff65b363a3abf7ddc5300e489cd011017/csharp/Platform.Collections.Methods/Trees/SizeBalancedTreeMethods.cs#L97

Tree should be locked only for balancing. Each N inserts can be done without any locking or balancing.

Contributor guide

No contributing guide indexed for this repository

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 with csharp/Platform.Collections.Methods/Trees/SizeBalancedTreeMethods.cs at line 97 and inspect how insertion, locking, and balancing currently interact. Define how the proposed N-insert interval is configured and verify that inserts avoid locking and balancing while the tree is locked only during delayed balancing.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
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.