Never miss a beat

Join my newsletter.

Tag: map

Understanding Clojure's Map & PMap

Published: 7/18/2016

Let’s be honest – Part of the reason you’re using Clojure is the higher order functions like map . They’re great, composable, and describe what you’re trying to do instead of defining what to do – this keeps code simple. Maybe you’ve been playing with map for a while now and have even tried using pmap . If you did, you probably noticed that pmap is often slower than map , and if you want to know why – read on. What is map ? Before we get into pmap lets go ahead and clarify our…