Table Index Views - emer/etable GitHub Wiki
Sorting, filtering, splitting, etc all take advantage of the index view of a table, which is simply a pointer to a Table along with a []int
slice of indexes.
See: IdxView for all the methods.
ix := etable.NewIdxView(et) // new view with all rows
NewTable, SetTable
To "cache out" an index view into a Table that is physically organized in the order of the indexes, use the NewTable
or SetTable
methods.
Splits
Splits is a list (slice) of IdxView
's, representing multiple different splits of table rows. See Splits.