blife.sac could do better than it does
Bugzilla Link | 1047 |
Created on | Feb 24, 2013 20:19 |
Version | svn |
OS | Linux |
Architecture | PC |
Extended Description
I was just looking at bug725.sac, an incarnation of Conway's Game of Life, It does this, in function addpad(): sh1 = shape(a); pad1 = [genarray([sh1[1]],0)]; add1 = pad1 ++ a ++ pad1; The ++ functions are unable to AWLF, because of the way that pad1 is defined. If the code is rewritten this way: sh1 = shape(a); shpad = [ 1, sh1[1]]; pad1 = genarray(shpad,0); add1 = pad1 ++ a ++ pad1; then the whole shebang wolds into a single WL. I think I'll go change blife.sac to work this way. However, it would not be a lot of work for some keener to make AWLF work on the original blife.sac code.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information