Re: Comparing clojure speed to java speed

2011-03-19 Thread Jarl Haggerty
Ok, I changed the java version to add x to an accumulator and now it runs just a little slower than clojure, probably because of the extra adding. And if you don't mind one more trivial example... Should I be able assign to the members of an object in Clojure just as fast as I could in Java? I h

Re: *print-dup* and subvec

2011-03-19 Thread Stuart Sierra
It's a bug: I just created CLJ-761 . In general, print-dup should work for serialization, but there are cases where it doesn't work: defrecords, for example, though that may be fixed in the next release. -Stuart Sierra clojure.com -- You received th

Re: xml parsing

2011-03-19 Thread Vincent
how to parse such xml and build a defrecord ... any help thanks vincent -- 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

Re: ClojureCLR startup times...

2011-03-19 Thread Scott Thoman
On Fri, Mar 18, 2011 at 3:57 PM, dmiller wrote: > No signed assemblies. > > What got you below the reported JIT activity into the real problem? > > On Mar 18, 11:37 am, Scott Thoman wrote: > >> I've had a similar issue unrelated to clojure.  In my case we had some >> signed assemblies and the CLR

Re: Can't "recur" from within a "catch" expression.

2011-03-19 Thread Shree Mulay
On Mar 19, 12:02 am, Ken Wesson wrote: > It occurs to me you probably only want the delay between successive > retries, so really you want to put the delay in the retrying code, or > maybe use interpose in some manner (and make the interposed delay > function look like a failure to the surrounding

About a networked REPL...

2011-03-19 Thread Martin Blais
Hi, After Rich's suggestion at the recent NYC meetup, I had a detailed look at inferior-lisp vs. Slime, and nREPL, read Chas' document, wrote a bit of code, tried to figure out the issues for myself; here are my conclusions on nREPL: - In the Slime/Swank model, there is a single IDE that conne

Re: About a networked REPL...

2011-03-19 Thread Sean Corfield
On Sat, Mar 19, 2011 at 5:30 PM, Martin Blais wrote: > I'm curious to hear people's thoughts. I don't have a ton of > experience with Clojure and I also might be misled regarding > the aims of the nREPL project. What's bothering people with > Swank's protocol anyway? I have zero experience with E

Re: About a networked REPL...

2011-03-19 Thread Sean Corfield
On Sat, Mar 19, 2011 at 7:36 PM, Sean Corfield wrote: > I guess I would need to be persuaded that either a) Slime/Swank is so > unassailably good that all IDEs should implement it or b) there are > inherent problems with nREPL and no IDEs should use it? As a follow on, the "Why another REPL imple