Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make small records of struct type #41

Open
xperiandri opened this issue Jul 8, 2020 · 1 comment
Open

Make small records of struct type #41

xperiandri opened this issue Jul 8, 2020 · 1 comment

Comments

@xperiandri
Copy link

Records EntityIdentifier, OperationResult, EntityMetadata have only 2 fields which means that making them structs is efficient option.

@daniel-chambers
Copy link
Contributor

Pretty sure when I started this library, you couldn't make records value types. I'm not fundamentally opposed to the idea, but it would be a gentle breaking change.

Did you have some specific performance issues with them as reference types?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants