I have given no thought at all to performance, assuming that the Java compilers are smarter than me! A lot of functions could be eliminated by inlining (e.g. getFoo() rather than referring to member variable foo) - I assume compliers can/will be able to do this. I have also created 2D arrays in that fashion (foo[][]) rather than foo[] as I did in CBMT. This makes the code more readable and probably this can be optimised at compile time.

Good luck!

PeterMR, July 1996.