Skip to content

Conversation

apkd
Copy link
Contributor

@apkd apkd commented Oct 26, 2019

This pull request introduces some code simplifications and optimizations, mainly related to LINQ usage. These include:

  • Use of .ToArray() to avoid costly multiple enumeration
  • Use of LINQ's built-in .Append method and similar
  • Use of Sum(x => x...) instead of .Select(x => x...).Sum()

Copy link
Owner

@joashc joashc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@joashc joashc merged commit 611fe10 into joashc:master Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants