On Sat, Jan 1, 2011 at 5:47 PM, Albert Cardona wrote:
> Hi all,
>
> I'd apreciate help on figuring out why a loop gets number boxing
> warnings, when it shouldn't:
>
> http://clojure.pastebin.com/9uLZqGhy
I just filed this as:
http://dev.clojure.org/jira/browse/CLJ-701
--Chouser
http://joyofcloj
2011/1/3 Allen Johnson :
>> I can't see where the variables are boxed into objects. Both the loop
>> and the let declare them as primitives if they are given primitives.
>> Perhaps they are already objects before they reach the inc and dec
>> function calls in the recur, but if so, it's a mystery t
> I can't see where the variables are boxed into objects. Both the loop
> and the let declare them as primitives if they are given primitives.
> Perhaps they are already objects before they reach the inc and dec
> function calls in the recur, but if so, it's a mystery to me why.
Yeah that is inter
2011/1/2 Allen Johnson :
> Here is my attempt. I changed the divide to use unchecked-divide-int
> and explicitly cast recur values to long.
>
> http://clojure.pastebin.com/xs79ruw1
>
> Allen
Hi Allen,
Thanks for the effort.
What I don't understand is why one should cast to int or long at all
if
Here is my attempt. I changed the divide to use unchecked-divide-int
and explicitly cast recur values to long.
http://clojure.pastebin.com/xs79ruw1
Allen
On Sat, Jan 1, 2011 at 5:47 PM, Albert Cardona wrote:
> Hi all,
>
> I'd apreciate help on figuring out why a loop gets number boxing
> warnin
Hi all,
I'd apreciate help on figuring out why a loop gets number boxing
warnings, when it shouldn't:
http://clojure.pastebin.com/9uLZqGhy
I'm using clojure from:
commit f30995c86056959abca53d0ca35dcb9cfa73e6e6
Author: Stuart Halloway
Date: Fri Dec 17 15:17:20 2010 -0500
Thanks.
Albert
--