- var masks: Map[MType, Int] = new HashMap[MType, Int]
- # Positions of each MType for each tables
- var hashes: Map[MType, Map[MType, Int]] = new HashMap[MType, Map[MType, Int]]
-end
-
-class ClassLayout
- # Unic ids or each MClass
- var ids: Map[MClass, Int] = new HashMap[MClass, Int]
- # Fixed positions of each MClass in all tables
- var pos: Map[MClass, Int] = new HashMap[MClass, Int]
-end
-
-class PHClassLayout
- super ClassLayout
- # Masks used by hash function
- var masks: Map[MClass, Int] = new HashMap[MClass, Int]
- # Positions of each MClass for each tables
- var hashes: Map[MClass, Map[MClass, Int]] = new HashMap[MClass, Map[MClass, Int]]
+ var masks: Map[E, Int] = new HashMap[E, Int]
+ # Positions of each element for each tables
+ var hashes: Map[E, Map[E, Int]] = new HashMap[E, Map[E, Int]]