Skip to content

Commit 93859bf

Browse files
committed
4.0.0
Add comprehensive stress tests for BTree and BPlusTree implementations - Introduced a new stress test suite in BTree.Test/BTree/StressTest.cs to validate the integrity and performance of BTree and BPlusTree under various scenarios. - Implemented tests for large dataset insertion and removal, random insert/remove operations, alternating insert/remove patterns, and sequential operations. - Enhanced BPlusTree and BTree classes to support efficient leaf node traversal and iteration using callback interfaces for high-performance scenarios. - Updated project files to support multiple target frameworks (netstandard2.0, net6.0, net8.0, net10.0) and incremented version to 4.0.0. - Added new interfaces for allocation-free iteration over BTree items to minimize delegate overhead. - Improved the Option<TValue> struct for better performance in hot paths. - Updated README.md to reflect changes and provide clearer usage instructions.
1 parent 920491a commit 93859bf

22 files changed

+4177
-89
lines changed

BTree.Benchmark/BTree.Benchmark.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<Nullable>disable</Nullable>
77
<LangVersion>latest</LangVersion>
88
<InvariantGlobalization>true</InvariantGlobalization>
99
<Title>BTree.Benchmark</Title>
1010
<Authors>DevAM</Authors>
1111
<Company>DevAM</Company>
1212
<Product>BTree</Product>
13-
<Version>3.0.1</Version>
13+
<Version>4.0.0</Version>
1414
<Copyright>Copyright (c) 2024 DevAM. All Rights Reserved.</Copyright>
15-
<AssemblyVersion>3.0.1</AssemblyVersion>
16-
<FileVersion>3.0.1</FileVersion>
15+
<AssemblyVersion>4.0.0</AssemblyVersion>
16+
<FileVersion>4.0.0</FileVersion>
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="BenchmarkDotNet" Version="0.15.2" />
21-
<PackageReference Include="BenchmarkDotNet.Annotations" Version="0.15.2" />
20+
<PackageReference Include="BenchmarkDotNet" Version="0.15.8" />
21+
<PackageReference Include="BenchmarkDotNet.Annotations" Version="0.15.8" />
2222
</ItemGroup>
2323

2424
<ItemGroup>

0 commit comments

Comments
 (0)