BitFaster.Caching
BitFaster.Caching copied to clipboard
High performance, thread-safe in-memory caching primitives for .NET
Bumps [FluentAssertions](https://github.com/fluentassertions/fluentassertions), [Microsoft.NETFramework.ReferenceAssemblies](https://github.com/Microsoft/dotnet) and System.Threading.Tasks.Extensions. These dependencies needed to be updated together. Updates `FluentAssertions` from 7.0.0 to 8.2.0 Release notes Sourced from FluentAssertions's releases. 8.2.0 What's Changed Improvements Optimize various...
This pull request removes unsupported target frameworks (.NET Core, .NET 6.0) and simplifies conditional compilation so it supports `NETSTANDARD` (.NET Standard 2.0) and `NET` (.NET 8.0 and .NET 9.0).
- Use new `System.Threading.Lock` type in `ConcurrentLfuCore`. Benchmark shows Lock.TryEnter is faster. - POC of TryGetAlternateCache for string keys, see https://github.com/dotnet/runtime/issues/27229 - The lookup is accessed by the [GetAlternateLookup](https://learn.microsoft.com/en-us/dotnet/api/system.collections.concurrent.concurrentdictionary-2.getalternatelookup) extension...
Since this library is about micro-optimizations, I decided to dive into `BitOps`. Firstly, one of the methods (`CeilingPowerOfTwo`) now has a corresponding `BitOperations` method (`RoundUpToPowerOf2`) which internally does the same...
As stated in #661, FluentAssertions v8 changed their [license](https://github.com/fluentassertions/fluentassertions/blob/main/LICENSE) from open source (Apache 2.0) to paid costing [$130 per seat](https://xceed.com/products/unit-testing/fluent-assertions) for commercial use. This pull request migrates the tests in...