-
First, thanks for the great work on nanobind! I'm currently evaluating how to migrate from pybind11 to nanobind for my project and it seems promising. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Nanobind always creates the alias class at the moment (it is as if |
Beta Was this translation helpful? Give feedback.
-
@wjakob A follow up question, is there any plan to support the optimization from pybind11 (that don't create alias class if python class doesn't actually inherit)? |
Beta Was this translation helpful? Give feedback.
Nanobind always creates the alias class at the moment (it is as if
init_alias
was specified for all constructors). We may consider porting this optimization if it is found to be a performance issue.