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

ColumnsOfCurrentToken to struct tuple in ServiceLexing #9219

Merged
merged 1 commit into from
May 26, 2020

Conversation

cartermp
Copy link
Contributor

In a trace from here: https://developercommunity.visualstudio.com/content/problem/1035124/trace-of-editing-experience-with-in-memory-cross-p-1.html

I found what looked like needless allocations of a tuple of two integers:

image

Seems like a perfect candidate to turn into a struct.

@cartermp cartermp requested review from TIHan and dsyme May 17, 2020 23:31
@cartermp cartermp changed the title ColumnsOfCurrentToken to struct tuple ColumnsOfCurrentToken to struct tuple in ServiceLexing May 17, 2020
Copy link
Contributor

@TIHan TIHan left a comment

Choose a reason for hiding this comment

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

Yes, this looks like a pretty easy candidate.

@TIHan TIHan merged commit 21e95d8 into dotnet:master May 26, 2020
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
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