Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Create the ReadOnlySpan<> equivalents for IndexOf/SequentialEqual - #15123

Merged
2 commits merged into
masterfrom
unknown repository
Jan 12, 2017
Merged

2 commits merged into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jan 12, 2017

Copy link
Copy Markdown

Another copy-paste job.

@ghost

ghost commented Jan 12, 2017

Copy link
Copy Markdown
Author

cc @KrzysztofCwalina

@KrzysztofCwalina

Copy link
Copy Markdown
Member

It's unfortunate that we duplicate so much code. But I think we should merge it and then experiment in higher level parsers to see if the conversion from ReadOnlySpan to Span shows on profiles. If it does not, possibly we could share some code between readonly and r/w/ spans.

@KrzysztofCwalina

Copy link
Copy Markdown
Member

Looks good

@ghost
ghost merged commit 3b5ca7c into dotnet:master Jan 12, 2017
@ghost
ghost deleted the sp branch January 12, 2017 20:47
@karelz karelz modified the milestone: 2.0.0 Jan 21, 2017
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…tnet/corefx#15123)

* sp-wip 1/12/2017 10:26:04 AM - Cloned files

* Span -> ReadOnlySpan


Commit migrated from dotnet/corefx@3b5ca7c
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants