-
Notifications
You must be signed in to change notification settings - Fork 453
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
Tracking issues of Buffer
migration
#4452
Comments
Is there any particular reason why implementing |
No, this is just for easy implementation. I can't expose to expose too many types to user. We can refine this part later if users find it unsatisfactory. |
All task has been finised. Closing... |
Recently, OpenDAL has transitioned its I/O traits to a
Buffer
-based approach, which is optimized for both contiguous and non-contiguous bytes input. Additionally, the newBuffer
facilitates vectored I/O and is io_uring compatible, enhancing prospects for future development.However, some code paths convert
Buffer
back intoBytes
, resulting in additional allocations, unnecessary copying, and increased memory usage, thereby negating all the advantages of usingBuffer
.This tracking issue addresses all
Buffer
-related issues. Please comment if you identify any other cases that might cause regression.All tasks are easy and good-first-issues, please jump in for details.
Tasks
Buffer
as cache inRangeWrite
#4453Buffer
as cache inBlockWrite
#4454Buffer
as cache inMultipartWrite
#4455Buffer
as cache inOneshotWrite
#4456Buffer
#4464Buffer
#4465Related
The text was updated successfully, but these errors were encountered: