Skip to content

_mlc_address is too vague name as a unique identifier #56

@junrushao-openai

Description

@junrushao-openai

It's known convention in MLC that _mlc_address is used as a unique identifier as oppose to Python's builtin id() for good reasons. However, _mlc_address with an underscore seems less semantically meaningful and less discoverable. We may want to expose two interfaces:

  • mlc.Object.id_() which is consistent with Python's id()
  • mlc.Object.is_() which is consistent with Python's is

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions