I'm sure there's something wrong with my patch (the "eval" smell) and 
the fact that I'm assoc-ing a closure in the metadat map.
I'll rework it if you agree with the idea of this patch

Christophe Grand a écrit :
> Rich Hickey a écrit :
>   
>> On May 13, 9:57 am, Christophe Grand <christo...@cgrand.net> wrote:
>>   
>>     
>>> Mark Reid a écrit :
>>>
>>>     
>>>       
>>>> In particular, it seems converting `(+ 1 2 3)` to `(+ 1 (+
>>>> 2 3))` can speed things up.
>>>>       
>>>>         
>>> Rich, would you accept a patch to make all arities inlinable for basic
>>> math ops?
>>>
>>>     
>>>       
>> What does the patch do?
>>     
>
> Here is the patch, it breaks tests in contrib for (-) and (/) since both 
> forms now throw an exception at compile-time.
>
>   


-- 
Professional: http://cgrand.net/ (fr)
On Clojure: http://clj-me.blogspot.com/ (en)



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to