Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
enum UnionMode:int { Sparse, Dense } table Union { mode: UnionMode; typeIds: [Int32]; // optional, describes typeid of each child. }
The idea is to enable providing an id different from the child offset (the default)
This enables an optimization where we use predefined ids when constructing the type vector of the union but want the children to be only the actually used types.