guillon commented on issue #17072: URL: https://github.com/apache/tvm/issues/17072#issuecomment-2252513226
Using synchronization may be more costly and error prone than a simple thread local cache as proposed above, you may experiment with both. Though, actually I didn't understand the rationale for making à global expression cache. Shouldn't the cache be local to some function scope, hence a bare member of some parent object instead of a global state? Perhaps were there some experiments conducted at the time of this addition? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
