nrk/predis — pull request #182 by gwilym (2014-06-26 03:01:25+00:00)
Title: use a loop instead of recursion in CursorBasedIterator

servers with large sets of keys will cause memory and stack exhaustion if recursion is used

intended to fix #181, works for me but welcome a cleaner solution