neon-sunset / fast-cache

The fastest cache library written in C# for items with set expiration time. Easy to use, thread-safe and light on memory.
https://www.nuget.org/packages/FastCache.Cached/
MIT License
88 stars 8 forks source link

Bump RangeExtensions from 2.0.0 to 2.1.0 #27

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps RangeExtensions from 2.0.0 to 2.1.0.

Release notes

Sourced from RangeExtensions's releases.

2.1.0

Changes

🚀 Enhancements

  • SIMDify array/span initialization which improves performance by appx. 2-4x depending on supported vector width (PR #16)
  • Improve .ToList() performance by 2x via directly passing RangeEnumerable to List<int> constructor which subsequently calls ICollection.ToArray(...)
BenchmarkDotNet=v0.13.3, OS=macOS 13.1 (22C65) [Darwin 22.2.0]
AMD Ryzen 7 5800X 3.80GHz, 1 CPU, 8 logical and 8 physical cores
.NET SDK=8.0.100-alpha.1.23056.11
  [Host]     : .NET 8.0.0 (8.0.23.5503), X64 RyuJIT AVX2
  DefaultJob : .NET 8.0.0 (8.0.23.5503), X64 RyuJIT AVX2
Method Length Mean Error Ratio Allocated
RangeToArray 10 8.249 ns 0.1493 ns 1.00 64 B
EnumerableToArray 10 15.416 ns 0.1819 ns 1.87 104 B
RangeToList 10 18.367 ns 0.1284 ns 2.23 120 B
EnumerableToList 10 22.675 ns 0.4197 ns 2.75 136 B
RangeSelectToArray 10 14.934 ns 0.1617 ns 1.81 96 B
EnumerableSelectToArray 10 27.146 ns 0.2635 ns 3.30 152 B
RangeToArray 100 19.584 ns 0.1200 ns 1.00 424 B
EnumerableToArray 100 44.881 ns 0.2353 ns 2.29 464 B
RangeToList 100 29.633 ns 0.2484 ns 1.51 480 B
EnumerableToList 100 97.329 ns 0.7041 ns 4.97 496 B
RangeSelectToArray 100 62.172 ns 0.6928 ns 3.18 456 B
EnumerableSelectToArray 100 75.454 ns 0.8087 ns 3.85 512 B
RangeToArray 10000 690.475 ns 10.5986 ns 1.00 40024 B
EnumerableToArray 10000 3,285.207 ns 22.7170 ns 4.76 40064 B
RangeToList 10000 1,231.378 ns 11.5101 ns 1.78 40080 B
EnumerableToList 10000 7,269.712 ns 75.8317 ns 10.52 40096 B
RangeSelectToArray 10000 5,024.135 ns 49.6868 ns 7.27 40056 B
EnumerableSelectToArray 10000 5,044.309 ns 67.8153 ns 7.30 40112 B

📦 Dependencies

🧰 Misc

  • Add JB files to gitignore (9375bb66)
  • Update README.md (32773409)

... (truncated)

Commits
  • 6eb5428 SIMDify array/span initialization (#16)
  • 3277340 Update README.md
  • 31c9a0c Bump BenchmarkDotNet from 0.13.2 to 0.13.3 (#15)
  • 9375bb6 Add JB files to gitignore
  • 9c7936c Remove bespoke range.ToList() impl. in order to switch to BCL codepath that c...
  • See full diff in compare view


Dependabot compatibility score

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)
coveralls commented 1 year ago

Coverage Status

Coverage: 92.913% (+1.2%) from 91.717% when pulling 85472e9df3f5ff082683c50c86a35f6a7d497444 on dependabot/nuget/RangeExtensions-2.1.0 into d0d39349d15f54d2b5b77f322fdd2d936b2d3780 on main.