title: Numpy NdArray Memoization
body: <p>I'm working on some fairly computational intensive calculations that deal with numpy matrices and ndarrays, and from some digging around, there are about a dozen ways <strong>not</strong> to implement memoization, generally full of collisions, and issues with ndarrays being mutable objects. </p>
  
  <p>Has anyone come across a fairly general memoisation decorator that can handle numpy objects?</p>