You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "junrushao (via GitHub)" <gi...@apache.org> on 2023/06/14 08:34:51 UTC

[GitHub] [tvm] junrushao commented on a diff in pull request #15083: [TVMScript] Avoid visiting repetition tensor in SetCommonPrefix Visitor

junrushao commented on code in PR #15083:
URL: https://github.com/apache/tvm/pull/15083#discussion_r1229228903


##########
src/script/printer/ir_docsifier.cc:
##########
@@ -134,6 +141,7 @@ void IRDocsifierNode::SetCommonPrefix(const ObjectRef& root,
 
     ReflectionVTable* vtable_ = ReflectionVTable::Global();
     std::vector<const Object*> stack_;
+    std::vector<const Object*> visited_;

Review Comment:
   Do you want to switch to std::unordered_set 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-unsubscribe@tvm.apache.org

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