Skip to content

Optimization for non-nullable reference types #14

Open

Description

@dbolin

Don't emit a null byte marker for non-nullable reference types

Based on metadata described in https://github.com/dotnet/roslyn/blob/master/docs/features/nullable-metadata.md


Arrays are problematic for this, because while they offer the most potential benefit, it's not uncommon to have T[] where some elements are actually null (reserved space, sparse array, etc).

Activity

  1. self-assigned this
    on Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions