Name |
Last commit
|
Last update |
---|---|---|
.. | ||
crt | ||
micro/standalone | ||
c_backend_api.h | ||
c_runtime_api.h | ||
container.h | ||
data_type.h | ||
device_api.h | ||
memory.h | ||
module.h | ||
ndarray.h | ||
object.h | ||
packed_func.h | ||
registry.h | ||
serializer.h | ||
threading_backend.h | ||
vm.h |
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 |
---|---|---|
.. | ||
crt | Loading commit data... | |
micro/standalone | Loading commit data... | |
c_backend_api.h | Loading commit data... | |
c_runtime_api.h | Loading commit data... | |
container.h | Loading commit data... | |
data_type.h | Loading commit data... | |
device_api.h | Loading commit data... | |
memory.h | Loading commit data... | |
module.h | Loading commit data... | |
ndarray.h | Loading commit data... | |
object.h | Loading commit data... | |
packed_func.h | Loading commit data... | |
registry.h | Loading commit data... | |
serializer.h | Loading commit data... | |
threading_backend.h | Loading commit data... | |
vm.h | Loading commit data... |