riptable.rt_sort_cache

Classes

SortCache

Global sort cache for uid - unique ids which are often generated from GetTSC (CPU time stamp counter)

class riptable.rt_sort_cache.SortCache

Bases: object

Global sort cache for uid - unique ids which are often generated from GetTSC (CPU time stamp counter)

to ensure that the values have not changed underneath, it performs a crc check and compares via the crc of a known sorted index array

_cache
_logging = False
classmethod get_sorted_row_index(uid, nrows, sortdict)
classmethod invalidate(uid)
classmethod invalidate_all()
classmethod logging_off()
classmethod logging_on()
classmethod store_sort(uid, sortlist, sortidx)

Restore a sort index from file.