Re: Parallel Game of Life

2009-03-20 Thread Scott Fraser
to experiment with different automata such as gliders. Larry Sherrill On Mar 16, 9:33 am, Kyle R. Burton kyle.bur...@gmail.com wrote: On Mon, Mar 16, 2009 at 12:31 AM, Scott Fraser scott.e.fra...@gmail.com wrote: I have taken Larry's Game of Life example that he originally posted here

Re: Parallel Game of Life

2009-03-16 Thread Scott Fraser
to experiment with different automata such as gliders. Larry Sherrill On Mar 16, 9:33 am, Kyle R. Burton kyle.bur...@gmail.com wrote: On Mon, Mar 16, 2009 at 12:31 AM, Scott Fraser scott.e.fra...@gmail.com wrote: I have taken Larry's Game of Life example that he originally posted here

Re: Game of Life

2009-03-15 Thread Scott Fraser
Hi Larry I have a performance tweak, that gives about an order of magnitude speedup to paint-cells when running this with a large grid and no or little (Thread/sleep life-delay) in toggle-thread. That is how I am running it now - 128 x 192 cells with no delay! It is also noticeably faster on the

Parallel Game of Life

2009-03-15 Thread Scott Fraser
I have taken Larry's Game of Life example that he originally posted here: http://groups.google.com/group/clojure/msg/fdfc88f1ba95bdee ...and updated it to use all the CPU's your JVM has access to. My first attempts ran into the classic map - pmap slowdown. My next attempt had too much dosync,