-
Notifications
You must be signed in to change notification settings - Fork 571
More Span<T> and ReadOnlySpan<T> #2669
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
Open
ScrubN
wants to merge
26
commits into
mono:main
Choose a base branch
from
ScrubN:reduce-arrays
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e0de203
Use spans instead of arrays
mattleibow 3a77f16
Add some tests
mattleibow 7741e78
Convert many arrays to spans, or add span overloads where array overl…
ScrubN c87b9fa
Remove some unnecessary null checks.
ScrubN 8d4bf7f
Fix duplicate SetRectRadii overloads
ScrubN 8f77fcc
Swap out `new T[0]` for `Array.Empty<T> ()`
ScrubN 8428942
Fix apparent memory leak when drawing vertices
ScrubN 9f6f9ce
Minor memory improvements
ScrubN a70e287
Fix typo
ScrubN cc3fe2f
Add ReadOnlySpan<char> overloads to SKShaper.Shape and convert DrawSh…
ScrubN d4985d3
Add tests for SKShaper.Shape with ReadOnlySpan<char>
ScrubN 47926c8
Minor adjustments
ScrubN 535d4e3
Add some span-array overload comparison tests
ScrubN 175fa00
Convert LINQ to code
ScrubN 2b32428
Restore some array overloads & reduce duplicate code between span and…
ScrubN 53d4f74
Restore more array overloads & add some missing span overloads
ScrubN 8bb55f1
Fix method order to preserve blame
ScrubN 1ae486a
Almost done restoring array methods
ScrubN f1336f0
Fix recursive method
ScrubN 34b0dd6
Fix build
ScrubN 3d355e3
Revert changes to SKStream
ScrubN 590f43d
Restore even more array/string overloads
ScrubN 27bd94d
Add missing DrawText* span overloads
ScrubN 47479bf
Cleanup
ScrubN b38d0d9
Fix SKColorSpaceTransferFn.SetValues length check
ScrubN a7d449c
Merge branch 'main' into reduce-arrays
ScrubN File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.