'Edit' => '📓'
];
- //WOAH NELLY!
- ini_set('max_execution_time', '300'); //300 seconds = 5 minutes
- $songHashMap = foldMap(
- ☐(∘(field(0), delemit(' ')))(∘(field(5), delemit('/')))
- )(foldMap(∘(lines, 'trim', 'file_get_contents'))(glob(PATH_TO_GROOVENET . '/songs.*.txt')));
+ $songHashMap = unserialize(file_get_contents(__DIR__ . '/hashmap.txt'));
$scoreFiles = foldMap(∘(☐(lhead)(null), 'file_get_contents'))(glob(PATH_TO_GROOVENET . '/*.scores.txt'));
$scoreTesseract = map(map(map(maxKey)))(