junrushao commented on issue #326: URL: https://github.com/apache/tvm-ffi/issues/326#issuecomment-3643331118
Converting default to TVM object can be a bit time-consuming too. Returning None is not functionally correct because None can be map’s elements too. The best practice IMO is to return a global sentinel object `NotFound: tvm_ffi.Object()` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
