junrushao1994 commented on PR #12443: URL: https://github.com/apache/tvm/pull/12443#issuecomment-1215972302
Yeah my question is definitely a bit off the topic, so we don't have to deal with this in this PR - feel free to consider this as a discussion instead. My point here is that `tvm::runtime::Optional<ObjectRef>` is a simple wrapper of `ObjectRef` which does not incur extra memory overhead, so it could be slightly more efficient. Therefore, when dealing with TVM objects, I usually recommend to use `tvm::runtime::Optional` instead -- 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-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org