nl_tokens: Builds a heap in O ( n ) operations .
pl_tokens: function heapify ( compare , x ) { var n = x . <mask> ; for ( var k = n / 2 | 0 ; k ; ) { ( 0 , _core . siftdown ) ( compare , x , 0 , n , -- k ) ; } return new _core . Heap ( compare , x ) ; }