Try replacing the Array with a ByteArray and see if their is any performance improvement.
_,,,^..^,,,_ (phone)
On Jan 16, 2023, at 12:01 PM, karl ramberg karlramberg@gmail.com wrote:
Very cool. I would not volunteer to refactor that :-D
It's tricky to get high performance GameOfLife in Squeak. Here is a morph I worked on. I use an array as data structure. Each cell is an integer. Neighbouring cells alive are 0 to 8 and alive cell are 10 + neighbours.
It gets a decent framerate.
Best, Karl
On Mon, Jan 16, 2023 at 5:43 PM Eliot Miranda eliot.miranda@gmail.com wrote:
A fabulous example of Turing completeness and by far the most sophisticated Life system I’ve seen. https://woodrush.github.io/blog/posts/2022-01-12-lisp-in-life.html
The video is here:
_,,,^..^,,,_ (phone)