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

Create a readonly empty List<Result> #99

Closed
JamesNZL opened this issue Jul 6, 2023 · 0 comments
Closed

Create a readonly empty List<Result> #99

JamesNZL opened this issue Jul 6, 2023 · 0 comments
Assignees
Labels
performance Improvements to performance

Comments

@JamesNZL
Copy link
Owner

JamesNZL commented Jul 6, 2023

Although theoretically cheap, we don't need to create a new List<Result>() every time we want to return an empty list.

@JamesNZL JamesNZL added the performance Improvements to performance label Jul 6, 2023
@JamesNZL JamesNZL self-assigned this Jul 6, 2023
@JamesNZL JamesNZL closed this as completed Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Improvements to performance
Projects
None yet
Development

No branches or pull requests

1 participant