Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/runtime
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 42ade705
Choose a base ref
...
head repository: dotnet/runtime
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ceb0a16a
Choose a head ref
  • 18 commits
  • 34 files changed
  • 14 contributors

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    bc73ae5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c4b4bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f06bc4d View commit details
    Browse the repository at this point in the history
  4. [workloads] Don't load mono librarymode targets if PublishAot is set (#…

    …103777)
    
    This change removes the incorrect error message when you using NativeAOT library mode
    on mobile and you have `<NativeLib>` set. Previously, it would only detect if `<NativeLib>` was
    set and error out if you didn't install the library builder workload. That only applies if mono
    is your target.
    steveisok authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    65ef110 View commit details
    Browse the repository at this point in the history
  5. Improve WebUtility.HtmlEncode / UrlEncode performance (#103737)

    * Improve WebUtility.HtmlEncode / UrlEncode performance
    
    - For HtmlEncode, vectorize IndexOfHtmlEncodingChars. Using SearchValues, we can efficiently search for the first ASCII encoding char or the first non-ASCII char, and only then fall back to a scalar loop.
    - For HtmlEncode, reduce branching by using a more efficient check to determine whether the ASCII characters need to be encoded.
    - For UrlEncode, rather than UTF8-encoding into a new byte[], %-encoding in-place in that, and then creating a string from that, we can use string.Create and just do all the encoding in that buffer.
    - For UrlEncode, use SearchValues to vectorize the search for the first non-safe char. Also move the check for ' ' to be inside the if for non-safe char.
    - For UrlEncode, use SearchValues to optimize the check for whether an individual character is part of the set (via Contains).
    - Simplify IsUrlSafeChar. Rather than multiple checks, one of which is a bitmap, just have a bitmap.
    - Remove some leading IsNullOrEmpty checks. Null/empty inputs should be rare, and they're now handled implicitly as part of the subsequent loops.
    
    * Update src/libraries/System.Private.CoreLib/src/System/Net/WebUtility.cs
    
    Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
    
    ---------
    
    Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
    stephentoub and MihaZupan authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    b1bb871 View commit details
    Browse the repository at this point in the history
  6. Use span-based dictionary lookup in System.Console (#103742)

    * Use span-based dictionary lookup in System.Console
    
    * Fix ctor
    stephentoub authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    78c82de View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3a8992a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6bf2bc8 View commit details
    Browse the repository at this point in the history
  9. Update dependencies from https://github.com/dotnet/source-build-exter…

    …nals build 20240620.1 (#103815)
    
    Microsoft.SourceBuild.Intermediate.source-build-externals
     From Version 9.0.0-alpha.1.24303.2 -> To Version 9.0.0-alpha.1.24320.1
    
    Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
    dotnet-maestro[bot] and dotnet-maestro[bot] authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    4babcb3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    18bc115 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7fe3451 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3b14b0c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ff0c538 View commit details
    Browse the repository at this point in the history
  14. Improve Span.Count (#103728)

    * Improve Span.Count
    
    * Fix indentation
    MihaZupan authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    fc70f8b View commit details
    Browse the repository at this point in the history
  15. Avoid substring allocation in Environment.ReadXdgDirectory (#103765)

    * Avoid substring allocation in Environment.ReadXdgDirectory
    
    * Update src/libraries/System.Private.CoreLib/src/System/Environment.GetFolderPathCore.Unix.cs
    
    Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
    stephentoub and am11 authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    66cffdf View commit details
    Browse the repository at this point in the history
  16. JIT: Clean up FlowGraphDominatorTree::Build (#103803)

    We guarantee that `fgFirstBB` dominates all reachable basic blocks, so
    `IntersectDom` is never going to end up seeing a `nullptr`. Also, if the
    DFS tree does not have cycles the algorithm will converge in one
    iteration, so there is no reason to run a second one to notice no
    changes.
    jakobbotsch authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    ed6bbe6 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    ec996f9 View commit details
    Browse the repository at this point in the history
  18. JIT: rely on DFS for cycle entry detection in optRemoveRedundantZeroI…

    …nits (#103788)
    
    If a block is DFS ancestor of one of its preds, the block is a cycle entry.
    Use this instead of `BBF_BACKWARD_JUMP` to stop the scan of blocks when
    looking for redundant zero inits.
    
    Fixes #103477 (in main).
    AndyAyersMS authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    ceb0a16 View commit details
    Browse the repository at this point in the history
Loading