Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor implementation to use the four-fields approach (#23)
* intermediate non-compiling commit * well, it compiles... * fix all existing tests * move SequenceSegment (and related types) out of Block.cs * c# 8.0 breaks benchmarkdotnet * clean up some junk in the benchmarks * move the enumerator mess out of the main Sequence.cs; better pinned usage in Reference<T> * add all the benchmarks as tests; fix glitch re end-of-block allocations * moar scenarios; lots of fixes * fix GetReference bug; rationalize APIs to take Memory<T> * lots of test and perf fixups * remove some indirections that are impacting perf * fix the unsafe tests that were breaking the test rig
- Loading branch information
Showing
27 changed files
with
2,126 additions
and
724 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
@ECHO OFF | ||
dotnet run -p .\tests\Benchmark\ -c Release -f net472 --runtimes net472 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 -m | ||
dotnet run -p .\tests\Benchmark\ -c Release -f netcoreapp2.2 --runtimes net472 netcoreapp2.2 -m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.