On 2007-12-06, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > On Dec 6, 9:30 am, Aaron Watters <[EMAIL PROTECTED]> wrote: > >> While trying to optimize some NUCULAR libraries I discovered >> that the best way to merge 2 sorted lists together >> into a new sorted list is to just append >> them and re-sort. > . . . >> I'm beginning to think >> a "sorted list merger" might make a nice tiny extension module >> (at least for my purposes). > > > See recipes: > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/491285 > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/305269
That's fairly awesome. -- Neil Cerutti -- http://mail.python.org/mailman/listinfo/python-list