public static UpdateSketch heapify ( final Memory srcMem , final long seed ) { final Family family = Family . idToFamily ( srcMem . getByte ( FAMILY_BYTE ) ) ; if ( family . equals ( Family . ALPHA ) ) { return HeapAlphaSketch . heapifyInstance ( srcMem , seed ) ; } return HeapQuickSelectSketch . heapifyInstance ( srcMem , seed ) ; }
Instantiates an on - heap UpdateSketch from Memory .