http://www.perlmonks.org?node_id=248360


in reply to Re: Heap sorting in perl
in thread Heap sorting in perl

Isn't there a solution posted already with working code which solves exactly this memory problem? It could readily be sped up substantially, and needs more testing though. But consider it proof of concept...