On May 26, 12:42 pm, Sean Devlin <francoisdev...@gmail.com> wrote: > I'd like to see a specific proposal for replace & replace-first. > Stuart Sierra put a lot of effort into getting those fns the way they > are in contrib, and we should be careful to not undo any lessons > learned in the process.
Yes, originally replace and replace-first were multimethods. But that's too slow for string routines, which tend to be called often. The type-specific replace-* and replace-first-* functions are carefully optimized. -Stuart -- 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