@@ -0,0 +1,347 @@
+import copy%0A%0Aclass CopyCached(object):%0A    '''%0A    from pyleon.performance.utils import CopyCached%0A    '''%0A    def __init__(self, obj, cache=10):%0A        self._no_calls = 0%0A        self._objs = %5Bcopy.copy(obj) for i in range(cache)%5D%0A%0A    def __call__(self):%0A        val =  self._objs%5Bself._no_calls%5D%0A        self._no_calls += 1%0A        return val%0A

Create utils.py