Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
clipperhouse committed Aug 7, 2024
1 parent d9b2511 commit 8aecd63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Benchmarks/Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions Tests/APIs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ public void Readme()
{
var example = "Hello, 🌏 world. 你好, 世界. ";

var splits = example.Split(" ");
var splits = example.SplitOn(" ");

foreach (var split in splits)
{
Console.WriteLine(split);
// split is a ReadOnlySpan<char>
}

/*
Expand Down

0 comments on commit 8aecd63

Please sign in to comment.