Merging sorted lists/iterators/generators into one stream of values...

George Sakkis gsakkis at rutgers.edu
Fri Oct 7 09:28:24 EDT 2005


"Lasse Vågsæther Karlsen" <lassevk at gmail.com> wrote:

> Ok, that one looks more sleak than what I came up with.

For the most efficient and elegant solution, check out Raymond Hettinger's reply to:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/141934

George





More information about the Python-list mailing list