Skip to content

Unroll SpanHelpers.SequenceEqual in a late phase #108808

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

Closed
wants to merge 4 commits into from

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented Oct 11, 2024

checking diffs..

@EgorBo
Copy link
Member Author

EgorBo commented Oct 11, 2024

@MihuBot

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Oct 11, 2024
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@EgorBo
Copy link
Member Author

EgorBo commented Oct 11, 2024

@MihuBot

@EgorBo
Copy link
Member Author

EgorBo commented Oct 12, 2024

@MihuBot

@EgorBo
Copy link
Member Author

EgorBo commented Oct 12, 2024

/azp run runtime-outerloop, runtime-coreclr pgo

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@EgorBo
Copy link
Member Author

EgorBo commented Oct 12, 2024

@EgorBot -intel -arm64 -profiler

using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;

BenchmarkSwitcher.FromAssembly(typeof(Bench).Assembly).Run(args);

public class Bench
{
    static byte[] Data = "1111222233334444"u8.ToArray();

    [Benchmark]
    public bool Test() => Data.AsSpan().SequenceEqual("1111222233334444"u8);
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant