We should pass by the ObjectRef in most part of the codebase. The only 
exception for now is the Functor dispatching classes, where the first argument 
is the Object node class itself, and can be viewed as a Weak reference to the 
original node.

There are some interest in moving the functor dispatching argument to be 
ObjectRef as well, which might be a good idea, but would need another round of 
refactor(perhaps after this round)





---
[Visit Topic](https://discuss.tvm.ai/t/when-to-use-reference-vs-pointer/6261/2) 
to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/a244494c64a157a6a3a7966eece0f2b310bc9d9fb768effe2ce61068982b9057).

Reply via email to