linksplatform / linksplatform/Data.Doublets

Stack allocation should be used instead of ArrayPool.Allocate

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
14
Forks
5
PR merge metrics
No merged PRs in 30d

Description

https://github.com/linksplatform/Data.Doublets/blob/0bf35d8d4fe5dd9302fdd6726bfd41f889028379/Decorators/LinksCascadeDependenciesResolver.cs#L22

https://docs.microsoft.com/ru-ru/dotnet/csharp/language-reference/operators/stackalloc

Contributor guide

No contributing guide indexed for this repository

Research direction

Read Decorators/LinksCascadeDependenciesResolver.cs at line 22 and the linked C# stackalloc reference first. Check whether the allocation can be changed without altering resolver behavior, then run the repository’s existing tests. Done means this allocation no longer uses ArrayPool.Allocate and the tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
performance
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.