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

Replaced LINQ with iteration for performance improvements. #4586

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

paulomorgado
Copy link
Contributor

LINQ To Objects might look good, but comes with a performance penalty.

Using LINQ To Objects to create enumerables that have single and immediate iteration should be replaced with the equivalent traditional control flow instructions.

src/NuGet.Config Outdated Show resolved Hide resolved
src/NSwag.sln Outdated Show resolved Hide resolved
@RicoSuter RicoSuter merged commit 9175311 into RicoSuter:master Nov 21, 2023
1 check failed
@paulomorgado paulomorgado deleted the performance/remove-linq branch November 21, 2023 17:38
paulomorgado added a commit to paulomorgado/NSwag that referenced this pull request Nov 21, 2023
paulomorgado added a commit to paulomorgado/NSwag that referenced this pull request Nov 22, 2023
lahma pushed a commit to lahma/NSwag that referenced this pull request Jan 20, 2024
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.

None yet

2 participants