On Fri, May 27, 2011 at 2:27 AM, Sunil S Nandihalli <sunil.nandiha...@gmail.com> wrote: > I don't think yours is going to be anymore efficient than the one I had > initially posted .. In fact it might be slower in majority of the cases..
Yes; yours will terminate as soon as it finds a "hole" in the numbering, whereas Walter's will traverse the whole map. -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or random as C++; a language for a more civilized age. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en