-
Notifications
You must be signed in to change notification settings - Fork 45
enhancement: Provide optimized Span-based memory access APIs. #2184
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
Closed
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
51a0fe9
enhancement: Added fast Span<T>-based APIs to IReaderWriter<T>.
assumenothing 1042a0f
enhancement: Update indexer classes to utilize Span<T> methods in IBy…
assumenothing e7dcfe7
enhancement: Various improvements to Indexable class.
assumenothing 9e5a832
fix: Return correct length span in ArrayReaderWriter<T>.TryGetSpan me…
assumenothing 5223641
fix: Various fixes to ByteArrayBasedIndexable methods.
assumenothing 8a56b0b
enhancement: Improvements to AbstractMemoryBasedDataStructure.
assumenothing b03a4ea
enhancement: Added MemoryAccess parameter and ReadOnlySpan<T> overloa…
assumenothing db66677
fix: Restore Indexable.SetSpacePaddedString method to original trunca…
assumenothing 56b672f
enhancement: Added new span-based APIs from Indexable to IIndexable.
assumenothing 8f145d3
fix: Prevent exception from being thrown when Indexable.SetZeroTermin…
assumenothing 4ffd71a
enhancement: Change access modifiers for MemoryIndexer methods ReadSe…
assumenothing ece7469
fix: Fixed bug in ByteArrayBasedIndexable and AbstractMemoryBasedData…
assumenothing 2e26663
refactor: Optimized RealModeMmu386.IsValidAccess method.
assumenothing 3156b15
enhancement: Added virtual method IMmu.TryTranslateAddressRange.
assumenothing 201b95e
chore: Consolidated and simplified Indexable string/memory helper fun…
assumenothing af67201
Use Indexable.DisableSpanAccess property on the various Indexer classes.
assumenothing 14e12fe
fix: Changed default implementation of IReaderWriter.TryGetSpan.
assumenothing ed77d55
feature: Implemented basic span support for Memory and IMemoryDevice.
assumenothing feed0dd
fix: Misc. updates/fixes to Span-related code and Indexable.
assumenothing 8b3ea82
feature: Split span access methods between Indexable methods and Memo…
assumenothing 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
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.
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.