Andrei Alexandrescu wrote: > On 05/30/2010 02:01 PM, bearophile wrote: >> Andrei Alexandrescu: >> >>> It seems to me it doesn't bring anything noteworthy over >>> std.container.SList. Would anyone miss it if I erased it? >> >> One linked list is enough. > > Sounds good. > >> Can't the heap in std.algorithm be moved to the collections/containers? > > The heap is a tad difficult to tackle. Most of the time you don't want > to create a heap, but instead to organize an existing range as a heap. > As such, the heap is not always obvious to think of as a container. I'm > undecided on how to approach this. > > Andrei
I would also rather think of heap as the heapify operation, not unlike partition.