Yes, people have shown examples on this list where (+ a b)
is dramatically faster than (+ a b c) On Jun 16, 1:42 pm, Paul Stadig <p...@stadig.name> wrote: > On Tue, Jun 16, 2009 at 1:38 PM, Michel Salim <michel.syl...@gmail.com>wrote: > > > > > It's currently not possible to dynamically rebind functions: > > > (binding [+ -] (+ 5 3)) ==> 8 ;; not 2 > > > Thanks, > > > -- > > Michel S. > > It is possible to rebind (even core) functions, but there are a couple of > limitations. One of which is the fact that some functions are inlined by the > compiler. I believe the two argument case of '+ is one of those. > > Paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---