Converts the store s into a heap. If initialSize is
specified, only the first initialSize elements in s
are transformed into a heap, after which the heap can grow up
to r.length (if Store is a range) or indefinitely (if
Store is a container with insertBack). Performs
O(min(r.length, initialSize)) evaluations of less.
Converts the store s into a heap. If initialSize is specified, only the first initialSize elements in s are transformed into a heap, after which the heap can grow up to r.length (if Store is a range) or indefinitely (if Store is a container with insertBack). Performs O(min(r.length, initialSize)) evaluations of less.