firedrakeproject/firedrake — pull request #177 by kynan (2014-02-27 13:15:17+00:00)
Title: Cache FunctionSpace by mesh, element, dim, rank

A FunctionSpace on a given mesh and element is unique. We therefore
cache it with the mesh, element, dim and rank as the cache key.