Skip to content

Optimization for non-nullable reference types #14

@dbolin

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).

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