You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2025/03/31 08:02:38 UTC

[I] Implement `io::Read + io::Seek + io::BufRead` for `Buffer` [opendal]

Xuanwo opened a new issue, #5915:
URL: https://github.com/apache/opendal/issues/5915

   `Buffer` now implements `bytes::Buf`, but many users still require `Seek + Read`, which often leads them to use `Buffer::to_bytes()` to concatenate data instead. This approach can introduce additional memory copies and allocations.
   
   By implementing `io::Read`, `io::Seek`, and `io::BufRead` for `Buffer`, users can take greater advantage of its in-memory layout.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Implement `io::Read + io::Seek + io::BufRead` for `Buffer` [opendal]

Posted by "uruemu (via GitHub)" <gi...@apache.org>.
uruemu commented on issue #5915:
URL: https://github.com/apache/opendal/issues/5915#issuecomment-2775776186

   I can take a look at this. Is this where the implementation will live? https://github.com/apache/opendal/blob/main/core/src/types/buffer.rs
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Implement `io::Read + io::Seek + io::BufRead` for `Buffer` [opendal]

Posted by "meteorgan (via GitHub)" <gi...@apache.org>.
meteorgan commented on issue #5915:
URL: https://github.com/apache/opendal/issues/5915#issuecomment-2778878638

   > I can take a look at this. Is this where the implementation will live? https://github.com/apache/opendal/blob/main/core/src/types/buffer.rs
   
   Yes, thank you in advance, it's greatly appreciated !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Implement `io::Read + io::Seek + io::BufRead` for `Buffer` [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #5915: Implement `io::Read + io::Seek + io::BufRead` for `Buffer`
URL: https://github.com/apache/opendal/issues/5915


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org