Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadOnlySequence version #1

Merged
merged 6 commits into from
Feb 27, 2018

Conversation

benaadams
Copy link
Contributor

Using PR dotnet/corefx#27499

                                     Method |       Mean | Scaled |
------------------------------------------- |-----------:|-------:|
     'Only generate the random item index.' |   1.732 ns |   0.01 |
...y static data to the stack using Spans.' |  27.461 ns |   0.19 |
...e stack using a locally generated Span.' | 147.255 ns |   1.00 |
... implemented SafeBufferSlice<T> struct.' | 152.654 ns |   1.04 |
...k using the ReadOnlySequence<T> struct.' | 214.572 ns |   1.46 |

@hexawyz
Copy link
Owner

hexawyz commented Feb 27, 2018

Woah, thanks a lot for this quite massive upgrade 😮
I expected to have to wait for the new packages to come out, but it seems I don't have to 😉

@hexawyz hexawyz merged commit df42e4d into hexawyz:master Feb 27, 2018
@benaadams benaadams deleted the ReadOnlySequence-version branch February 28, 2018 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants