magicant/sesh — pull request #152 by magicant (2014-12-21 03:02:34+00:00)
Title: More efficient memory use in future implementation

Repeated future::map function calls create a long chain of promise/future pairs. When the future is fulfilled, call to the mapping function might consume up the stack. To avoid stack overflow, this pull request implements manual tail call optimization.