You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 new Buffer facilitates vectored I/O and is io_uring compatible, enhancing prospects for future development.
However, some code paths convert Buffer back into Bytes, resulting in additional allocations, unnecessary copying, and increased memory usage, thereby negating all the advantages of using Buffer.
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.
Is there any particular reason why implementing Iterator directly for Buffer instead of IntoIterator, iter and iter_mut?
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.
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: