mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 11:23:17 -09:00
use pmap
This commit is contained in:
parent
9b2b3a2c2e
commit
8d236e36ea
@ -74,5 +74,5 @@
|
|||||||
(for [r (range N)] {:loc [r -1], :dir :right})
|
(for [r (range N)] {:loc [r -1], :dir :right})
|
||||||
(for [r (range N)] {:loc [r N], :dir :left})]
|
(for [r (range N)] {:loc [r N], :dir :left})]
|
||||||
(apply concat)
|
(apply concat)
|
||||||
(map measure-energy)
|
(pmap measure-energy)
|
||||||
(apply max))
|
(apply max))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user