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

Add more static preinitialization support #92739

Merged
merged 3 commits into from
Sep 28, 2023

Commits on Sep 27, 2023

  1. Add more static preinitialization support

    Resolves dotnet#78681 (or "there's nothing else we'd be willing to do for it"). This is the rest of what I implemented trying to get `SearchValues.Create(someVeryLongString)` to preinitialize. It doesn't actually enable more `SearchValues` scenarios because I eventually hit codepaths that would require us to implement hardware intrinsics support in the interpreter. The `SearchValues` scenarios that we do support were implemented in dotnet#92470 and dotnet#92666. But since I already implemented this, here it is; maybe it will be useful for something else:
    
    * Support for modelling `Span<X>`, including creating it from stackalloc
    * Support for math/comparisons with native int
    * `Unsafe.Add`
    MichalStrehovsky committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    4b5eb31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    273f9f4 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. CR feedback

    MichalStrehovsky committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    cafc7b0 View commit details
    Browse the repository at this point in the history