elsa-workflows / elsa-workflows/elsa-core

[CHORE] Use Microsoft.IO.RecyclableMemoryStream

Open
#6,087 1 comment 0 reactions 0 assignees View on GitHub
maintenance triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

## Maintenance Task Request

### Task Overview
**What maintenance task do you propose? Please describe.**
In the code new `MemoryStream()`s are created 7 times. This could be optimized with pooling by using the `Microsoft.IO.RecyclableMemoryStream` nuget.

### Purpose of the Task
**Explain why this task is necessary**
Improved performance.

### Potential Issues
**Identify any potential issues that might arise from this task**
Can't think of any.

### Additional Context
**Add any other context**
Repo: [RecyclableMemoryStream](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.