Merging multiple sorted sequences.

Paul Rubin at nospam.invalid
Thu Apr 13 00:38:51 EDT 2017

Erik <python at> writes:
> I need to be able to lazily merge a variable number of
> already-sorted(*) variable-length sequences 

If the number of sequences is large, the traditional way is with the
heapq module.

More information about the Python-list mailing list