Re: Boggle solver

2009-12-14 Thread Alex Osborne
james writes: > Using the -Xprof switch seems to indicate java.lang.Character.hashCode > is called a lot and i guess that's to do with the nested maps that > represent the trie. > > Using jvisualvm doesn't help much either as it's not giving me a call > graph. > Just self counts for each function

Re: Boggle solver

2009-12-14 Thread james
. > I'm sure there is lots of room for improvement to make it more > idiomatic and perform better so I would be grateful if anyone would > care to cast their eye over it. > > http://wiki.github.com/phraemer/Boggle-Solver > > thanks, > > James -- You received thi

Re: Boggle solver

2009-11-10 Thread james
jure version. That would be interesting > for comparison ... > > On Nov 7, 12:11 am, james wrote: > > > > > Hey! > > > As a learning exercise I wrote a simple boggle solver in clojure. > > I'm sure there is lots of room for improvement to make it more >

Re: Boggle solver

2009-11-10 Thread james
.github.com/phraemer/Boggle-Solver I tested this against a friends very neat (but not optimised) c++ implimentation and it's only slightly faster as far as I can tell. I suspect that some clever people on here could easily get better performance out of my version and yet keep it idiomatic. (

Re: Boggle solver

2009-11-10 Thread jng27
top. Haven't yet implemented a Clojure version. That would be interesting for comparison ... On Nov 7, 12:11 am, james wrote: > Hey! > > As a learning exercise I wrote a simple boggle solver in clojure. > I'm sure there is lots of room for improvement to make it more > idiom

Re: Boggle solver

2009-11-09 Thread william douglas
Very nice, I had actually been implementing a boggle solver for my optimal boggle grid generator (5x5 with no limits on number of letters on dice). I hadn't discovered the wonders of assoc-in though which makes things look much nicer when creating nested maps. I really like the layout of

Boggle solver

2009-11-07 Thread james
Hey! As a learning exercise I wrote a simple boggle solver in clojure. I'm sure there is lots of room for improvement to make it more idiomatic and perform better so I would be grateful if anyone would care to cast their eye over it. http://wiki.github.com/phraemer/Boggle-Solver thanks,