Skip to content

Conversation

@tqchen
Copy link
Member

@tqchen tqchen commented Jun 17, 2025

This PR brings up new reflection support in python. The new reflection now directly attaches property
and methods to the class object themselves, making more efficient accessing than old mechanism.

It will also support broader set of value types
that are compatible with the FFI system.

For now the old mechanism and new mechanism will co-exist, and we will phase out old mechanism as we migrate most needed features into new one.

This PR brings up new reflection support in python.
The new reflection now directly attaches property
and methods to the class object themselves, making more
efficient accessing than old mechanism.

It will also support broader set of value types
that are compatible with the FFI system.

For now the old mechanism and new mechanism will co-exist,
and we will phase out old mechanism as we migrate most needed
features into new one.
@Hzfengsy Hzfengsy merged commit 3c7c515 into apache:main Jun 17, 2025
13 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
This PR brings up new reflection support in python.
The new reflection now directly attaches property
and methods to the class object themselves, making more
efficient accessing than old mechanism.

It will also support broader set of value types
that are compatible with the FFI system.

For now the old mechanism and new mechanism will co-exist,
and we will phase out old mechanism as we migrate most needed
features into new one.
tqchen added a commit to tqchen/tvm that referenced this pull request Sep 13, 2025
This PR brings up new reflection support in python.
The new reflection now directly attaches property
and methods to the class object themselves, making more
efficient accessing than old mechanism.

It will also support broader set of value types
that are compatible with the FFI system.

For now the old mechanism and new mechanism will co-exist,
and we will phase out old mechanism as we migrate most needed
features into new one.
tqchen added a commit to tqchen/tvm that referenced this pull request Sep 13, 2025
This PR brings up new reflection support in python.
The new reflection now directly attaches property
and methods to the class object themselves, making more
efficient accessing than old mechanism.

It will also support broader set of value types
that are compatible with the FFI system.

For now the old mechanism and new mechanism will co-exist,
and we will phase out old mechanism as we migrate most needed
features into new one.
tqchen added a commit to tqchen/tvm that referenced this pull request Sep 13, 2025
This PR brings up new reflection support in python.
The new reflection now directly attaches property
and methods to the class object themselves, making more
efficient accessing than old mechanism.

It will also support broader set of value types
that are compatible with the FFI system.

For now the old mechanism and new mechanism will co-exist,
and we will phase out old mechanism as we migrate most needed
features into new one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants