forked from image-rs/image-png
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
Reader::scrach_buffer
field + resulting breaking API changes.
This commit is desirable, because it avoids copying of image data across intermediate buffers. Avoiding such copying seems important based on the data gathered in image-rs#416 (comment) Removal of `Reader::scrach_buffer` was not included in the initial series of commits used to test the copy avoidance approach on performance, but it should have a similar effect. Fixes image-rs#417
- Loading branch information
1 parent
94ef816
commit 7150f4d
Showing
3 changed files
with
116 additions
and
70 deletions.
There are no files selected for viewing
This file contains 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 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 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