主权项 |
1. A method comprising:
implementing, within a single-machine computing environment comprised of hardware and software components that include at least one processor, the steps of: integrating function code into a caller's code to inline relevant statements so that repetitive pushing and popping of a collection of variables having different variable characteristic types, variable data types, and variable group storage characteristics to and from a stack at each compilation is eliminated, wherein a data structure in which a set of heterogeneous data is comprised of a collection of variables having different variable characteristic types, variable data types, and variable group storage characteristics is defined so that multiple columns with exactly the same variable characteristic types and variable data types are grouped together as a variable group, where each variable is represented by a canonical index, and each variable group has a variable group index, and each variable within a variable group has a within group index; instantiating a subsample of data structures representing a subset of instances of a set of heterogeneous data, wherein the subsample of data structures reside outside of the variable group to reduce complication from storing the collection of variables having different variable characteristic types, variable data types, and variable group storage characteristics; defining an intermediate data structure to represent the collection of variables contiguously to place bytes required for compilation in a contiguous arrangement so that fewer pages of data are pulled from memory to blocks in a plurality of caches that include a weight cache, a label cache, a feature cache, and a triple cache; and representing each variable characteristic type by a type that describes a variable data type in one or more template arguments to enable pattern matching at a node induction and statistics computation time on each type so that an appropriate instantiation of a routine is directed for each combination of variable characteristic type and variable data type. |