elsa-workflows / elsa-workflows/elsa-core
[CHORE] Use Microsoft.IO.RecyclableMemoryStream
Open
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
Assessment
This issue has not been assessed yet.