You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Lzzzzzt (via GitHub)" <gi...@apache.org> on 2024/07/11 01:50:47 UTC

Re: [I] OperatorInfo should be stored inside Operator to avoid calling metadata [opendal]

Lzzzzzt commented on issue #4845:
URL: https://github.com/apache/opendal/issues/4845#issuecomment-2221835540

   If my understanding is right, it just wrap `OperatorInfo` in `Arc<T>`.
   
   And if it is better to use `OnceCell<T>` for lazy init of `OperatorInfo` and change `pub fn info(&self) -> OperatorInfo` to `pub fn info(&self) -> &OperatorInfo`?


-- 
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