Updated Post Scarcity Hardware (markdown)

Simon Brooke 2017-01-02 23:52:56 +00:00
parent ff9aa64144
commit 26248a437d

@ -32,12 +32,12 @@ Performance doesn't actually improve very much. Consider this function, which is
just map over cells within a row. That's because it isn't worth starting
a new thread for each cell, but there may be efficiency gains in
running rows in parallel."
(\[world function\]
([world function]
(map-world world function nil))
(\[world function additional-args\]
(into \[\]
(pmap (fn \[row\]
(into \[\] (map
([world function additional-args]
(into []
(pmap (fn [row]
(into [] (map
#(apply function
(cons world (cons % additional-args)))
row)))