Another interesting Rubik's Cube paper is Jim Weigang's "Implementing
Rubik's Cube: An Exercise in Hybrid Programming", from the January 1986
issue of *Computer Language* magazine. Jim implements the cube in APL, and
allows the user to make rotations using "twist commands". He then uses the
APL model to re-implement the core twist routines in assembly language using
table lookup, to speed up the solution finder. The lookup tables were
generated by the APL model. He describes a 72x speed-up in rotation
sequences with the assembly-language routines.

http://www.chilton.com/~jimw/rubik.html

Skip

Skip Cave
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to