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

Better optionals #109

Merged
merged 5 commits into from
Nov 13, 2024
Merged

Better optionals #109

merged 5 commits into from
Nov 13, 2024

Conversation

erri120
Copy link
Member

@erri120 erri120 commented Nov 6, 2024

As we discussed before, this makes optionals easier to handle and will reduce runtime exceptions.

This PR also turns the Get methods into generic methods, this will reduce allocations everywhere since structs don't have to be boxed anymore.

@erri120 erri120 requested a review from halgari November 6, 2024 11:22
@erri120 erri120 self-assigned this Nov 6, 2024
@halgari halgari merged commit 45f278f into main Nov 13, 2024
4 checks passed
@halgari halgari deleted the better-optionals branch November 13, 2024 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants