Re: loop [#^Integer c 0] vs. loop [c (int 0)] and optimization question...

2009-02-13 Thread Dimiter "malkia" Stanev
On Feb 13, 5:35 am, Vincent Foley wrote: > Dimiter, > > The latest revision of Clojure is r1278; are you using the Google code > trunk? > > Vincent Thanks, Vincent! I kept wondering why I don't see any more versions, I was till on the sourceforge one. --~--~-~--~~~---

Re: loop [#^Integer c 0] vs. loop [c (int 0)] and optimization question...

2009-02-13 Thread Rich Hickey
On Feb 13, 8:41 am, Rich Hickey wrote: > On Feb 12, 2009, at 5:35 PM, Dimiter malkia Stanev wrote: > > > > > > > Hi guys, > > > I'm optimizing a little benchmark called pnpoly, and I was wondering > > what is the proper way of hinting the compiler for types. In certain > > cases Clojure accepts

Re: loop [#^Integer c 0] vs. loop [c (int 0)] and optimization question...

2009-02-13 Thread Rich Hickey
On Feb 12, 2009, at 5:35 PM, Dimiter malkia Stanev wrote: > > Hi guys, > > I'm optimizing a little benchmark called pnpoly, and I was wondering > what is the proper way of hinting the compiler for types. In certain > cases Clojure accepts for example loop [#^Integer c 0] and in others > loop [c

Re: loop [#^Integer c 0] vs. loop [c (int 0)] and optimization question...

2009-02-13 Thread Vincent Foley
Dimiter, The latest revision of Clojure is r1278; are you using the Google code trunk? Vincent On Feb 12, 5:35 pm, "Dimiter \"malkia\" Stanev" wrote: > Hi guys, > > I'm optimizing a little benchmark called pnpoly, and I was wondering > what is the proper way of hinting the compiler for types.

Re: loop [#^Integer c 0] vs. loop [c (int 0)] and optimization question...

2009-02-13 Thread Laurent PETIT
Hello, I can't manage to get the code from the URL (server timeout) 2009/2/12 Dimiter malkia Stanev > > Hi guys, > > I'm optimizing a little benchmark called pnpoly, and I was wondering > what is the proper way of hinting the compiler for types. In certain > cases Clojure accepts for example lo

loop [#^Integer c 0] vs. loop [c (int 0)] and optimization question...

2009-02-13 Thread Dimiter "malkia" Stanev
Hi guys, I'm optimizing a little benchmark called pnpoly, and I was wondering what is the proper way of hinting the compiler for types. In certain cases Clojure accepts for example loop [#^Integer c 0] and in others loop [c (int 0)] - I'm really trying to hint the compiler as best as I can. I'm