miningcore
miningcore copied to clipboard
Bump Microsoft.IO.RecyclableMemoryStream from 2.2.1 to 2.3.2 in /src/Miningcore
Bumps Microsoft.IO.RecyclableMemoryStream from 2.2.1 to 2.3.2.
Release notes
Sourced from Microsoft.IO.RecyclableMemoryStream's releases.
Microsoft.IO.RecyclableMemoryStream 2.3.2
Optimizations:
- Calculating blocks and offsets was made more efficient by using
Math.DivRem
.- Reading and writing to the stream was made more efficient with fewer array accesses.
CopyTo
was overridden to avoid using the slower default implementation.NuGet: Microsoft.IO.RecyclableMemoryStream 2.3.2
Microsoft.IO.RecyclableMemoryStream 2.3.1
New Feature:
- Stream lifetime (creation through dispose) is now tracked and reported through the
MemoryStreamDispose
EventSource
event, as well as through theStreamDisposed
.NET event.Changes:
- The pool statistics used to be reported only when blocks/buffers were returned to the pool. This could lead to lopsided reporting patterns in some cases. Now, pool statistics are reported on stream creation and disposal.
- Added pool stats information to the
MemoryStreamDiscardBuffer
event.- Changed events relating to buffer creation to be at the warning level instead of verbose. These are signals that the pool might not be large enough to handle the load.
Bug Fixes:
- Fixed allocation/finalization bug that could cause a
NullReferenceException
in some low-memory scenarios.Internal:
- .NET 7 SDK used to build
- Changed coding style to match some newer patterns (and added .editorconfig file to enforce in the future)
- Fixed punctuation and spelling in API documentation.
Changelog
Sourced from Microsoft.IO.RecyclableMemoryStream's changelog.
Version 2.3.2
Optimizations:
- Caculating blocks and offsets was made more efficient by using
Math.DivRem
.- Reading and writing to the stream was made more efficient with fewer array accesses.
CopyTo
was overriden to avoid using the slower default implementation.Version 2.3.1
New Feature:
- Stream lifetime (creation through dispose) is now tracked and reported through the
MemoryStreamDispose
EventSource
event, as well as through theStreamDisposed
.NET event.Changes:
- The pool statistics used to be reported only when blocks/buffers were returned to the pool. This could lead to lopsided reporting patterns in some cases. Now, pool statistics are reported on stream creation and disposal.
- Added pool stats information to the
MemoryStreamDiscardBuffer
event.- Changed events relating to buffer creation to be at the warning level instead of verbose. These are signals that the pool might not be large enough to handle the load.
Bug Fixes:
- Fixed allocation/finalization bug that could cause a
NullReferenceException
in some low-memory scenarios.Internal:
- .NET 7 SDK used to build
- Changed coding style to match some newer patterns (and added .editorconfig file to enforce in the future)
- Fixed punctuation and spelling in API documentation.
Commits
44d6a7d
Prepare for 2.3.2 release (#285)8695e3d
Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0 in /UnitTests (#282)a0b79e7
Override CopyTo to improve performance (#278)5397c3c
Reduce amount of array accesses (#276)a2017d6
More optimized remainder calculation (#273)55c265b
Prepare 2.3.1 release (#272)0a6f713
Fix bug. Can't have TimeSpan in event source. (#271)27f27f4
Update version numbers, regenerate documentation (#269)ef7f82f
NET7 and small cleanup (#266)0b445bd
Add tracking for stream lifetime (#268)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)