three layouts that failed before the flat one worked
The generator for a memory-hard puzzle produces many millions of items and then visits their neighbours in a pattern with almost no locality. The natural data structure is a matrix of buckets. The natural implementation of that, in a…