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.
Activity
George-Miao commentedon Apr 12, 2024
Is there any particular reason why implementing
Iteratordirectly forBufferinstead ofIntoIterator,iteranditer_mut?Xuanwo commentedon Apr 13, 2024
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.
Xuanwo commentedon Apr 27, 2024
All task has been finised. Closing...