diff --git a/Post-Scarcity-Hardware.md b/Post-Scarcity-Hardware.md index 604747a..027fecd 100644 --- a/Post-Scarcity-Hardware.md +++ b/Post-Scarcity-Hardware.md @@ -31,12 +31,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)))