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

[Performance] Simplify UseSpanBasedStringConcat for better performance #6870

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Aug 20, 2023

There is no need to maintain topMostConcatOperations in a set. This can be a simple operation analyzer without operation block start/end actions.

This implementation should be more performant and also more simple.

@Youssef1313 Youssef1313 requested a review from a team as a code owner August 20, 2023 08:28
@codecov
Copy link

codecov bot commented Aug 20, 2023

Codecov Report

Merging #6870 (c572b72) into main (3587540) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6870   +/-   ##
=======================================
  Coverage   96.39%   96.39%           
=======================================
  Files        1403     1403           
  Lines      330977   330930   -47     
  Branches    10890    10880   -10     
=======================================
- Hits       319055   319010   -45     
+ Misses       9188     9187    -1     
+ Partials     2734     2733    -1     

Copy link
Contributor

@mavasani mavasani left a comment

Choose a reason for hiding this comment

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

This LGTM. @buyaa-n can you please review and merge? Thanks!

Copy link
Contributor

@buyaa-n buyaa-n 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!

@buyaa-n buyaa-n merged commit fc117a2 into dotnet:main Sep 12, 2023
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.

3 participants