in reply to Re: Re: Heap sorting in perl
in thread Heap sorting in perl
Heap sorting is attractive because selecting the smallest M elements from a dataset of size N (N being much larger than M) requires storing only M elements in memory at any one time.That means that he can very well store the entire heap, the M elements, in memory.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^5: Heap sorting in perl
by Anonymous Monk on Apr 07, 2003 at 11:33 UTC |