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

Avoid Unsafe.AsRef in Span<T> implementation #8657

Merged
merged 1 commit into from
Dec 16, 2016
Merged

Commits on Dec 16, 2016

  1. Avoid Unsafe.AsRef in Span<T> implementation

    The JIT is not able to inline the current implementation of Unsafe.AsRef because of it has type mismatch on return. Change the the corelib Span to call Unsafe.As instead since fixing the type mismatch is not easy in the internal corelib version of Unsafe.AsRef.
    jkotas committed Dec 16, 2016
    Configuration menu
    Copy the full SHA
    bdb030f View commit details
    Browse the repository at this point in the history