-
Notifications
You must be signed in to change notification settings - Fork 194
Syntax highlight using ReadOnlyMemory<char> for reduced allocations #550
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
base: master
Are you sure you want to change the base?
Conversation
| <IncludeSymbols>true</IncludeSymbols> | ||
| <EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
|
|
||
| <Version>11.3.0</Version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danipen shouldn't this be bumped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minimal required version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minimal required version
@Gillibald
Isn't that property the main version number for AvaloniaEdit? Don't you bump the version number when you release a new version? Or is this not the version number for the AvaloniaEdit nuget package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a release branch, so the version should not be adjusted. If a release is prepared, this needs to be adjusted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok thanks. Will a release be coming? I'm still waiting to get a fix for a bug that was fixed back in May. Much appreciated!
This PR upgrades TextMateSharp from
v1.0.xtov2.0.2and addsReadOnlyMemory<char>APIs to reduce string allocations during syntax highlighting.Benchmark Results
See danipen/TextMateSharp#100
Tested with a 133,439 line C# file (5.8 MB):