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

Optimization for non-nullable reference types #14

Open
dbolin opened this issue Jul 16, 2019 · 0 comments
Open

Optimization for non-nullable reference types #14

dbolin opened this issue Jul 16, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dbolin
Copy link
Owner

dbolin commented Jul 16, 2019

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

@dbolin dbolin self-assigned this Jul 16, 2019
@dbolin dbolin added the enhancement New feature or request label Aug 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant