Merging multiple sorted sequences.

Peter Otten __peter__ at web.de
Wed Apr 12 18:42:41 EDT 2017


Erik wrote:

> I need to be able to lazily merge a variable number of already-sorted(*)
> variable-length sequences into a single sorted sequence. 

https://docs.python.org/dev/library/heapq.html#heapq.merge




More information about the Python-list mailing list