Name |
Last commit
|
Last update |
---|---|---|
.. | ||
__init__.py | ||
_ffi_api.py | ||
_ffi_node_api.py | ||
container.py | ||
module.py | ||
ndarray.py | ||
object.py | ||
object_generic.py | ||
packed_func.py | ||
profiler_vm.py | ||
vm.py |
The _type_child_slots can be used to enable quick type checking optimization by checking the whether the type index is within the bound. This PR enables these static slots: - Introduce a static assert to avoid the scenario when a developer forget to _type_child_slots when the field is set for the type's parent. - Revamp and assign static type index to common runtime objects - Add a DumpTypeTable call to allow developer monitor the current situation of type table and offers suggestions for the slots(ideally the slots equals the number of children so there is no overflow.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
__init__.py | Loading commit data... | |
_ffi_api.py | Loading commit data... | |
_ffi_node_api.py | Loading commit data... | |
container.py | Loading commit data... | |
module.py | Loading commit data... | |
ndarray.py | Loading commit data... | |
object.py | Loading commit data... | |
object_generic.py | Loading commit data... | |
packed_func.py | Loading commit data... | |
profiler_vm.py | Loading commit data... | |
vm.py | Loading commit data... |