-
Notifications
You must be signed in to change notification settings - Fork 127
Add blit_to()
to @ArrayView
#2260
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: main
Are you sure you want to change the base?
Conversation
…tion array with tests
Complex nested conditional logic makes the copy length calculation error-prone and hard to verifyCategory Missing bounds validation could lead to out-of-bounds accessCategory Inconsistent parameter naming and documentation mismatchCategory |
Pull Request Test Coverage Report for Build 432Details
💛 - Coveralls |
…tion array with tests
2a4cc08
to
876fad5
Compare
…ess/core into Feat/@ArrayView-blit_to()
… logic
The |
Ok, now I use |
Summary
ArrayView::bilt_to
#1958New Method Addition:
array/view.mbt
: Implemented theblit_to
method with logic for iterating over the sourceArrayView
and copying its elements to the destination array.Testing Enhancements:
array/view_test.mbt
: Added multiple test cases for theblit_to
method, covering scenarios such as basic usage, copying at the start or end of the destination array, handling empty source arrays, and full overwrites of the destination array.